Skip to content

Commit 5baf744

Browse files
ClearlyClairekmycode
authored andcommitted
Fix definition for quote in JSON-LD context (mastodon#38686)
1 parent 99801d0 commit 5baf744

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/helpers/context_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ module ContextHelper
4444
},
4545
quote_requests: { 'QuoteRequest' => 'https://w3id.org/fep/044f#QuoteRequest' },
4646
quotes: {
47-
'quote' => 'https://w3id.org/fep/044f#quote',
47+
'quote' => { '@id' => 'https://w3id.org/fep/044f#quote', '@type' => '@id' },
4848
'quoteUri' => 'http://fedibird.com/ns#quoteUri',
4949
'_misskey_quote' => 'https://misskey-hub.net/ns#_misskey_quote',
5050
'quoteAuthorization' => { '@id' => 'https://w3id.org/fep/044f#quoteAuthorization', '@type' => '@id' },

0 commit comments

Comments
 (0)