mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02:00
Update IG Import Controller
This commit is contained in:
parent
350d7e29b5
commit
3d9fb1b13a
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ trait Instagram
|
|||
->firstOrFail();
|
||||
$media = $request->file('media');
|
||||
$file = file_get_contents($media);
|
||||
$json = json_decode($file, true);
|
||||
$json = json_decode($file, true, 5);
|
||||
if(!$json || !isset($json['photos'])) {
|
||||
return abort(500);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue