Skip to content

Commit 2df57ea

Browse files
committed
removed unused imports
1 parent ff51d75 commit 2df57ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/(app)/settings/account/+page.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const actions = {
1818
updateEmail: async ({ request, locals }) => {
1919
const updateEmailForm = await superValidate(request, zod(updateEmailDto));
2020
if (!updateEmailForm.valid) return fail(StatusCodes.BAD_REQUEST, { updateEmailForm })
21-
const { data, error } = await locals.api.iam.email.sendVerification.$post({ json: updateEmailForm.data }).then(locals.parseApiResponse);
21+
const { error } = await locals.api.iam.email.sendVerification.$post({ json: updateEmailForm.data }).then(locals.parseApiResponse);
2222
if (error) return setError(updateEmailForm, 'email', error);
2323
return { updateEmailForm }
2424
},

0 commit comments

Comments
 (0)