Skip to content

Commit

Permalink
ar(fix) type nit
Browse files Browse the repository at this point in the history
  • Loading branch information
angeloreale committed Aug 30, 2024
1 parent 1e34ea7 commit 27029e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/auth/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ const allUsersSideEffects = async ({ user }: any) => {

const [dpcpAbility] = await GetPrivateAbilities({ type: 'R', target: 'dpcp-vibemodulator', action: 'view-listings' });

const nextAbilities = _.uniq([...commonAbilities, userAbilities, dpcpAbility?.id]);
const nextServices = _.uniq([...commonServices, userServices]);
const nextAbilities = _.uniq([...commonAbilities, ...userAbilities, dpcpAbility?.id]);
const nextServices = _.uniq([...commonServices, ...userServices]);

await UpdatePrivateUserServices({ user, services: nextServices, upsert: false });
await UpdatePrivateUserAbilities({
Expand Down

0 comments on commit 27029e0

Please sign in to comment.