Skip to content

Commit

Permalink
fix(users): XXX-0 fix missing forward-slash in users.update
Browse files Browse the repository at this point in the history
  • Loading branch information
noticeeverything committed Feb 17, 2022
1 parent 728c0cf commit 2be0e2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/users/users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class Users {
}

async update(userId: number, user: Partial<TimelyUser>): Promise<TimelyUser> {
const { data } = await this.http.put(`/${this.config.accountId}/users${userId}`, { user })
const { data } = await this.http.put(`/${this.config.accountId}/users/${userId}`, { user })
return data
}

Expand Down

0 comments on commit 2be0e2a

Please sign in to comment.