Skip to content

Commit

Permalink
Remove the type property from the resource JSON-LD
Browse files Browse the repository at this point in the history
  • Loading branch information
noirbizarre committed Aug 30, 2018
1 parent c11d063 commit 2f8ecde
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

### Bugfixes

- Not yet
- Hide the `resource.type` attribute from JSON-LD output until handled by a proper vocabulary/property [#1864](https://github.com/opendatateam/udata/pull/1864)

### Internal

Expand Down
1 change: 0 additions & 1 deletion udata/core/dataset/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,6 @@ def json_ld(self):
'datePublished': self.published.isoformat(),
'extras': [get_json_ld_extra(*item)
for item in self.extras.items()],
'type': self.type,
}

if 'views' in self.metrics:
Expand Down

0 comments on commit 2f8ecde

Please sign in to comment.