Skip to content

Commit 872d9a6

Browse files
authored
Fix delete email route
1 parent ed2c315 commit 872d9a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/routes/v1/admin/users/emails.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ const userEmailAdminHandler = (app: FastifyInstance, opts: FastifyPluginOptions,
205205
verified: typeof body.isVerified === 'boolean' ? body.isVerified : undefined,
206206
},
207207
});
208+
});
208209

209210
app.delete('/', async (req, rep) => {
210211
const emailId = (req.params as { emailId: string }).emailId;
@@ -237,7 +238,6 @@ const userEmailAdminHandler = (app: FastifyInstance, opts: FastifyPluginOptions,
237238
},
238239
});
239240
});
240-
});
241241

242242
done();
243243
};

0 commit comments

Comments
 (0)