Skip to content

Commit

Permalink
fix: handling of uid
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Feb 16, 2024
1 parent 9ed6ddf commit 5690f38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ class CoCreateUser {
try {
const inviteId = this.crud.ObjectId().toString()
let uid = data.uid
data.uid = data.uid + '-inv'
delete data.uid

data.method = 'object.update'
data.array = "users"
Expand Down

0 comments on commit 5690f38

Please sign in to comment.