feat: kb UI

This commit is contained in:
archer
2023-06-12 15:11:29 +08:00
parent daf1148bb1
commit 6ac7119edf
10 changed files with 237 additions and 235 deletions

View File

@@ -26,6 +26,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse<
const { userId } = await authUser({ req, authToken: true });
await connectToDatabase();
searchText = searchText.replace(/'/g, '');
const where: any = [
['user_id', userId],