Skip to content

Commit

Permalink
Feature :: Fix Add QrImage In Profile
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaho1756 committed Nov 30, 2024
1 parent 6e223c2 commit 742c245
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/users/users.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,14 +140,10 @@ export class UsersController {
});
return {
user: {
id: user.id,
name: user.name,
email: user.email,
point: user.point,
temperature: user.temperature,
imageUrl: user.imageUrl,
...user,
password: '',
},
mylostStuff: lostStuff.filter((item) => item.createUser.id === user.id),
myLostStuff: lostStuff.filter((item) => item.createUser.id === user.id),
};
}
}

0 comments on commit 742c245

Please sign in to comment.