fix: lint issues (#6115)

This commit is contained in:
Ilango
2026-04-02 05:45:22 +08:00
committed by GitHub
parent 0527333be0
commit 76c4fc9723
@@ -56,7 +56,7 @@ export class UserController {
if (!currentUser) {
throw new InternalFlowiseError(StatusCodes.UNAUTHORIZED, UserErrorMessage.USER_NOT_FOUND)
}
const { id, name, oldPassword, newPassword, confirmPassword } = req.body
const { id } = req.body
if (currentUser.id !== id) {
throw new InternalFlowiseError(StatusCodes.FORBIDDEN, UserErrorMessage.USER_NOT_FOUND)
}