From 6b8de0222cb1032721fd343af3aecfc7a8ab7092 Mon Sep 17 00:00:00 2001 From: sbsatwork <97030650+sbsatwork@users.noreply.github.com> Date: Fri, 16 Dec 2022 16:26:44 +0100 Subject: [PATCH] Fixed definition of $header Removed the "," at the end of the $header-definition, since this made the script stop working --- Mastodon.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mastodon.php b/Mastodon.php index 09b442e..28292a8 100644 --- a/Mastodon.php +++ b/Mastodon.php @@ -25,7 +25,7 @@ { $headers = [ 'Authorization: Bearer '.$this->token, - 'Content-Type: multipart/form-data', + 'Content-Type: multipart/form-data' ]; $ch = curl_init();