From e8dd2c28ff520a3abaa728743a49e05188ce59a5 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 13 Jan 2024 08:50:57 +0000 Subject: make our jsonld parser happy --- Zotlabs/Lib/Activity.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Zotlabs/Lib/Activity.php') 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; -- cgit v1.2.3