Skip to content

Commit

Permalink
fix: compilation error because of wrong arg Sprintf
Browse files Browse the repository at this point in the history
  • Loading branch information
Ron van der Wijngaard committed Dec 5, 2019
1 parent 42816d2 commit 04d8306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rest-org.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ func (r *Client) UpdateActualOrgUser(user UserRole, uid uint) (StatusMessage, er
if raw, err = json.Marshal(user); err != nil {
return StatusMessage{}, err
}
if raw, _, err = r.post(fmt.Sprintf("api/org/users/%s", uid), nil, raw); err != nil {
if raw, _, err = r.post(fmt.Sprintf("api/org/users/%d", uid), nil, raw); err != nil {
return StatusMessage{}, err
}
if err = json.Unmarshal(raw, &resp); err != nil {
Expand Down

0 comments on commit 04d8306

Please sign in to comment.