From 8f495e1a5a26ac9268fbad28cacd2ee6282a8e91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Cola=C3=A7o?= Date: Sat, 19 Oct 2024 18:40:57 +0200 Subject: [PATCH] ref(xdotcom): fix small typo in error message --- pkg/xdotcom/posts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/xdotcom/posts.go b/pkg/xdotcom/posts.go index 2360cb0..43c8478 100644 --- a/pkg/xdotcom/posts.go +++ b/pkg/xdotcom/posts.go @@ -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{