mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Update scope ids
This commit is contained in:
@@ -88,9 +88,8 @@ module DfcProvider
|
||||
def scopes(platform_id)
|
||||
granted_scopes(platform_id).map do |scope|
|
||||
{
|
||||
'@id': "https://example.com/scopes/#{scope}",
|
||||
'@id': "https://github.com/datafoodconsortium/taxonomies/releases/latest/download/scopes.rdf##{scope}",
|
||||
'@type': "dfc-t:Scope",
|
||||
'dfc-t:scope': scope,
|
||||
}
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user