Open-source social media scheduler built for AI agents and the teams behind them. Create, schedule and publish posts to every network through MCP or the REST API, or write them yourself in a composer your team will love.
PHP ai-agentsblueskyfacebookinstagramlaravellinkedinmastodonmcpmcp-serveropen-sourcerest-apiself-hostedsocial-mediasocial-media-managementsocial-media-schedulerthreadstiktokvuejsxyoutube
Refactor storage method for media upload
Sebastian Albert9bc46996e4de
diff --git a/app/Models/Traits/HasMedia.php b/app/Models/Traits/HasMedia.phpindex 5b9f1f52a..c1b9cb5e7 100644--- a/app/Models/Traits/HasMedia.php+++ b/app/Models/Traits/HasMedia.php@@ -126,7 +126,7 @@ trait HasMedia$filename = Str::uuid().'.'.$normalizedExt;$storagePath = 'medias/'.$filename;- Storage::disk('public')->put($storagePath, $normalizedBytes);+ Storage::put($storagePath, $normalizedBytes);return $this->media()->create(['group_id' => $groupId ?? Str::uuid()->toString(),