mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 08:14:10 +00:00
Update Media model
This commit is contained in:
parent
851c441319
commit
4688e6c605
1 changed files with 5 additions and 0 deletions
|
@ -55,4 +55,9 @@ class Media extends Model
|
||||||
}
|
}
|
||||||
return $verb;
|
return $verb;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getMetadata()
|
||||||
|
{
|
||||||
|
return json_decode($this->metadata, true, 3);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue