1
0
Fork 0
forked from mirror/pixelfed

Update Media model

This commit is contained in:
Daniel Supernault 2018-10-16 12:31:29 -06:00
parent 851c441319
commit 4688e6c605
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -55,4 +55,9 @@ class Media extends Model
} }
return $verb; return $verb;
} }
public function getMetadata()
{
return json_decode($this->metadata, true, 3);
}
} }