Skip to content

Commit

Permalink
ref(xdotcom): fix small typo in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
coolapso committed Oct 19, 2024
1 parent 0ef1d84 commit 8f495e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/xdotcom/posts.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func CreatePostWithMedia(ctx context.Context, client *gotwi.Client, clientV1 *tw
}

if uploadHttpResp.StatusCode != 200 && uploadHttpResp.StatusCode != 201 {
return "", fmt.Errorf("Failed to uplade media, %v\n", uploadHttpResp.Status)
return "", fmt.Errorf("Failed to upload media, %v\n", uploadHttpResp.Status)
}

mediaInput := &types.CreateInputMedia{
Expand Down

0 comments on commit 8f495e1

Please sign in to comment.