Skip to content

Commit

Permalink
chore(sync): remove non necessary variable
Browse files Browse the repository at this point in the history
  • Loading branch information
louisgrasset committed Oct 8, 2024
1 parent e1855c2 commit 7a87d90
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions src/services/profile-synchronizer.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,15 +160,12 @@ export const profileSynchronizerService = async (
// Update profile images hash
await updateCacheEntry(
"profile",
Object.entries(profileUpdate).reduce(
(updated, [type, { hash, ..._rest }]) => {
return {
...updated,
[type]: hash,
};
},
{} as ProfileCache,
),
Object.entries(profileUpdate).reduce((updated, [type, { hash }]) => {
return {
...updated,
[type]: hash,
};
}, {} as ProfileCache),
);

log.succeed("task finished");
Expand Down

0 comments on commit 7a87d90

Please sign in to comment.