mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-07-24 23:35:26 -04:00
correcting API use, avoid history glitch
This commit is contained in:
parent
ebbb850b27
commit
a459c4692c
4 changed files with 5 additions and 5 deletions
|
@ -73,7 +73,7 @@ class Paste extends AbstractModel
|
|||
$data['comments'] = array_values($this->getComments());
|
||||
$data['comment_count'] = count($data['comments']);
|
||||
$data['comment_offset'] = 0;
|
||||
$data['@context'] = 'js/paste.jsonld';
|
||||
$data['@context'] = '?jsonld=paste';
|
||||
$this->_data = $data;
|
||||
|
||||
return $this->_data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue