fix(api): accidently sending images as a part of the user object

This commit is contained in:
diced 2021-08-28 19:37:38 -07:00
parent 794778dee2
commit 4728f1cc46
No known key found for this signature in database
GPG key ID: 85AB64C74535D76E

View file

@ -26,7 +26,6 @@ export type NextApiReq = NextApiRequest & {
customTheme?: Theme;
administrator: boolean;
id: number;
images: Image[];
password: string;
} | null | void>;
getCookie: (name: string) => string | null;
@ -100,7 +99,6 @@ export const withZipline = (handler: (req: NextApiRequest, res: NextApiResponse)
embedColor: true,
embedTitle: true,
id: true,
images: true,
password: true,
systemTheme: true,
customTheme: true,