forked from mirror/pixelfed
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