Skip to content

Commit 195f645

Browse files
committed
Added is Verified in req.body from update endpoint
1 parent 707a9be commit 195f645

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

email-api/src/controllers/users.controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export const remove = catchError(async(req, res) => {
9090

9191
export const update = catchError(async(req, res) => {
9292
const { id } = req.params
93-
const { password, ...rest } = req.body
93+
const { password, isVerified, ...rest } = req.body
9494
const result = await User.update(
9595
{ ...rest },
9696
{ where: {id}, returning: true }

0 commit comments

Comments
 (0)