Fixed lint issues.

This commit is contained in:
Mike Cao committed 2023-02-07 16:29:25 -08:00
1 parent 94726239aa
commit ad5e34a894
10 files changed
+58 -72

No files matched your search

+1 -3
View File
@@ -6,8 +6,6 @@ import { NextApiResponse } from 'next';
import { methodNotAllowed, ok, unauthorized } from 'next-basics';
import { createWebsite, getUserWebsites } from 'queries';
export interface WebsitesRequestQuery {}
export interface WebsitesRequestBody {
name: string;
domain: string;
@@ -16,7 +14,7 @@ export interface WebsitesRequestBody {
}
export default async (
req: NextApiRequestQueryBody<WebsitesRequestQuery, WebsitesRequestBody>,
req: NextApiRequestQueryBody<any, WebsitesRequestBody>,
res: NextApiResponse,
) => {
await useCors(req, res);