Skip to content

Commit

Permalink
Flattens fields in user created event (#461)
Browse files Browse the repository at this point in the history
  • Loading branch information
pushchris authored Apr 21, 2024
1 parent a0ab2e8 commit d5c0955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/platform/src/users/UserRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export const createUser = async (projectId: number, { external_id, anonymous_id,
name: 'user_created',
external_id: user.external_id,
anonymous_id,
data: { ...fields, data, external_id, anonymous_id },
data: { ...data, ...fields, external_id, anonymous_id },
},
}).queue()

Expand Down

0 comments on commit d5c0955

Please sign in to comment.