updating comment format to match defined JSON-LD API context

This commit is contained in:
El RIDO 2015-10-18 11:38:48 +02:00
parent f21567133c
commit 22d0b1ec22
5 changed files with 16 additions and 10 deletions

View file

@ -444,7 +444,6 @@ class zerobin
$result['url'] = (
array_key_exists('REQUEST_URI', $_SERVER) ? $_SERVER['REQUEST_URI'] : '/'
) . '?' . $message;
$result['@context'] = 'js/paste.jsonld';
}
$result += $other;
$this->_json = json_encode($result);