From cf70522a800401e1459d7ed34b40d2eb08ecc5a0 Mon Sep 17 00:00:00 2001 From: Grimstack Date: Wed, 20 Apr 2022 21:22:02 +0200 Subject: [PATCH] Fix issue #1 --- examples/media_bot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/media_bot.php b/examples/media_bot.php index b77ed06..e660721 100644 --- a/examples/media_bot.php +++ b/examples/media_bot.php @@ -16,7 +16,7 @@ $response = $mastodon->uploadMedia($body); - $file_id = $response->id; + $file_id = $response['id']; $statusText = 'This is a status';