Skip to content

Commit 76c4fc9

Browse files
authored
fix: lint issues (#6115)
1 parent 0527333 commit 76c4fc9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/server/src/enterprise/controllers/user.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export class UserController {
5656
if (!currentUser) {
5757
throw new InternalFlowiseError(StatusCodes.UNAUTHORIZED, UserErrorMessage.USER_NOT_FOUND)
5858
}
59-
const { id, name, oldPassword, newPassword, confirmPassword } = req.body
59+
const { id } = req.body
6060
if (currentUser.id !== id) {
6161
throw new InternalFlowiseError(StatusCodes.FORBIDDEN, UserErrorMessage.USER_NOT_FOUND)
6262
}

0 commit comments

Comments
 (0)