diff --git a/user/api.go b/user/api.go index bdb469e..6a2781c 100644 --- a/user/api.go +++ b/user/api.go @@ -28,7 +28,7 @@ func UpdateProfileImage(ctx context.Context, id string, params *UpdateProfileIma return getClient().UpdateProfileImage(ctx, id, params) } -// DeleteProfileImage sets or replaces the user's profile image. +// DeleteProfileImage deletes the user's profile image. func DeleteProfileImage(ctx context.Context, id string) (*clerk.User, error) { return getClient().DeleteProfileImage(ctx, id) } diff --git a/user/client.go b/user/client.go index e82bcde..06b4736 100644 --- a/user/client.go +++ b/user/client.go @@ -155,7 +155,7 @@ func (c *Client) UpdateProfileImage(ctx context.Context, id string, params *Upda return resource, err } -// DeleteProfileImage sets or replaces the user's profile image. +// DeleteProfileImage deletes the user's profile image. func (c *Client) DeleteProfileImage(ctx context.Context, id string) (*clerk.User, error) { path, err := clerk.JoinPath(path, id, "/profile_image") if err != nil {