Skip to content

Commit

Permalink
fix(fga-eps-mds/2024.2-ARANDU-DOC#59): removing unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielm2q committed Dec 14, 2024
1 parent c86835c commit 406f775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/users/users.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class UsersService {
if ( updateUserDto.email ) updateUserDto.isVerified = false;

var updateAttr = Object.fromEntries(
Object.entries(updateUserDto).filter(([key, value]) => value !== null)
Object.entries(updateUserDto).filter(([value]) => value !== null)
)

try {
Expand Down

0 comments on commit 406f775

Please sign in to comment.