1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-24 00:35:59 +00:00

Update IG Import Controller

This commit is contained in:
Daniel Supernault 2019-01-31 13:27:02 -07:00
parent 350d7e29b5
commit 3d9fb1b13a
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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);
}