mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-23 23:39:48 +00:00
Update AP Helpers
This commit is contained in:
parent
015c2f9954
commit
29022c6a79
1 changed files with 1 additions and 0 deletions
|
@ -357,6 +357,7 @@ class Helpers {
|
|||
$fdata = new File($file);
|
||||
$path = Storage::putFile($storagePath, $fdata, 'public');
|
||||
$media = new Media();
|
||||
$media->remote_media = true;
|
||||
$media->status_id = $status->id;
|
||||
$media->profile_id = $status->profile_id;
|
||||
$media->user_id = null;
|
||||
|
|
Loading…
Reference in a new issue