mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-04-18 21:48:24 -04:00
correcting API use, avoid history glitch
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user