mirror of
https://github.com/BradNut/TofuStack
synced 2025-09-08 17:40:26 +00:00
removed unused imports
This commit is contained in:
parent
ff51d75c1e
commit
2df57eac73
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ export const actions = {
|
||||||
updateEmail: async ({ request, locals }) => {
|
updateEmail: async ({ request, locals }) => {
|
||||||
const updateEmailForm = await superValidate(request, zod(updateEmailDto));
|
const updateEmailForm = await superValidate(request, zod(updateEmailDto));
|
||||||
if (!updateEmailForm.valid) return fail(StatusCodes.BAD_REQUEST, { updateEmailForm })
|
if (!updateEmailForm.valid) return fail(StatusCodes.BAD_REQUEST, { updateEmailForm })
|
||||||
const { data, error } = await locals.api.iam.email.sendVerification.$post({ json: updateEmailForm.data }).then(locals.parseApiResponse);
|
const { error } = await locals.api.iam.email.sendVerification.$post({ json: updateEmailForm.data }).then(locals.parseApiResponse);
|
||||||
if (error) return setError(updateEmailForm, 'email', error);
|
if (error) return setError(updateEmailForm, 'email', error);
|
||||||
return { updateEmailForm }
|
return { updateEmailForm }
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue