mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Remove invalid id attribute from DFC offer
This one is a bit confusing. The attribute changes throughout the different versions of the ontology and the DFC examples are not in line with the specification. WIP I guess. The previous nil attribute failed JSON-LD validation and DFC examples just contain the reference as I did it now. But I think that we will need to update it again vor DFC-v1.7.
This commit is contained in:
@@ -20,8 +20,7 @@ module DfcProvider
|
||||
|
||||
def offers_to
|
||||
{
|
||||
'@type' => '@id',
|
||||
'@id' => nil
|
||||
'@type' => '@id'
|
||||
}
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user