aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-01-13 08:50:57 +0000
committerMario <mario@mariovavti.com>2024-01-13 08:50:57 +0000
commite8dd2c28ff520a3abaa728743a49e05188ce59a5 (patch)
tree788545a9c5bf72f8f976be15d857b15dd09a88ac /Zotlabs/Lib
parent000fcfd1ac9914b74573a93628c28839c18105e1 (diff)
downloadvolse-hubzilla-e8dd2c28ff520a3abaa728743a49e05188ce59a5.tar.gz
volse-hubzilla-e8dd2c28ff520a3abaa728743a49e05188ce59a5.tar.bz2
volse-hubzilla-e8dd2c28ff520a3abaa728743a49e05188ce59a5.zip
make our jsonld parser happy
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/Activity.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php
index 766b4ed91..8cc359f44 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -4229,7 +4229,7 @@ class Activity {
return [
'zot' => z_root() . '/apschema#',
- 'schema' => 'http://schema.org#',
+ 'schema' => 'http://schema.org/',
'ostatus' => 'http://ostatus.org#',
'diaspora' => 'https://diasporafoundation.org/ns/',
@@ -4272,8 +4272,8 @@ class Activity {
$arr = array_merge(Activity::ap_context(), $obj);
if ($channel) {
- // $proof = (new JcsEddsa2022)->sign($arr, $channel);
- // $arr['proof'] = $proof;
+ $proof = (new JcsEddsa2022)->sign($arr, $channel);
+ $arr['proof'] = $proof;
$signature = LDSignatures::sign($arr, $channel);
$arr['signature'] = $signature;