Skip to content

Commit

Permalink
Add missing / path prefix when patching user data
Browse files Browse the repository at this point in the history
Possible reason for desiredAssignment updates resulting in 403
  • Loading branch information
mikkopiu committed Jan 18, 2024
1 parent d84afab commit 8c7efa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export class Api {
.patch(`v0.1/companies/${this.company.id}/users/${userId}`, {
json: [
{
path: 'desiredAssignment',
path: '/desiredAssignment',
op: 'replace',
value: desiredAssignment,
},
Expand Down

0 comments on commit 8c7efa5

Please sign in to comment.