Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 48425bf

Browse files
greyscaledcmoog
andauthored
Fixup godoc wording
Co-authored-by: Charles Moog <moogcharlie@gmail.com>
1 parent 58c58a8 commit 48425bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coder-sdk/users.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func (c Client) UpdateUser(ctx context.Context, userID string, req UpdateUserReq
114114
return c.requestBody(ctx, http.MethodPatch, "/api/private/users/"+userID, req, nil)
115115
}
116116

117-
// UpdateUXState updates the authenticated user's UX State.
117+
// UpdateUXState applies a partial update of the user's UX State.
118118
func (c Client) UpdateUXState(ctx context.Context, userID string, uxsPartial map[string]interface{}) error {
119119
if err := c.requestBody(ctx, http.MethodPut, "/api/private/users/"+userID+"/ux-state", uxsPartial, nil); err != nil {
120120
return err

0 commit comments

Comments
 (0)