diff options
author | Jimmy Huynh <jimmy.huynh@etu.unistra.fr> | 2021-03-14 23:47:31 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2021-03-17 08:58:42 +0100 |
commit | 4e7a1b159a3d238e0407c031268b3edcbcac498d (patch) | |
tree | 79804fd234582965be5dcb4d6aa8b8a2ae397cb8 /lib/Db | |
parent | 3dfbf64a6bf71634226502b292eee2ce03aa0e85 (diff) |
✨ Add 'catagories' to jsonSerialize()
Signed-off-by: Jimmy Huynh <jimmy.huynh@etu.unistra.fr>
Diffstat (limited to 'lib/Db')
-rw-r--r-- | lib/Db/Item.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Db/Item.php b/lib/Db/Item.php index f72330c2f..33602f356 100644 --- a/lib/Db/Item.php +++ b/lib/Db/Item.php @@ -312,6 +312,7 @@ class Item extends Entity implements IAPI, \JsonSerializable 'rtl' => $this->getRtl(), 'intro' => $this->getIntro(), 'fingerprint' => $this->getFingerprint(), + 'categories' => $this->getCategories() ]; } |