♻️ Re-organize workspace folders
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import prisma from '@/lib/prisma'
|
||||
import { Credentials } from 'models'
|
||||
import { Credentials } from '@typebot.io/schemas'
|
||||
import { NextApiRequest, NextApiResponse } from 'next'
|
||||
import { getAuthenticatedUser } from '@/features/auth/api'
|
||||
import {
|
||||
@@ -8,7 +8,7 @@ import {
|
||||
methodNotAllowed,
|
||||
notAuthenticated,
|
||||
encrypt,
|
||||
} from 'utils/api'
|
||||
} from '@typebot.io/lib/api'
|
||||
|
||||
const handler = async (req: NextApiRequest, res: NextApiResponse) => {
|
||||
const user = await getAuthenticatedUser(req)
|
||||
|
||||
Reference in New Issue
Block a user