Skip to content
This repository has been archived by the owner on May 14, 2020. It is now read-only.

Commit

Permalink
fix: node identifiers in the collection manages block
Browse files Browse the repository at this point in the history
Currently they are plain strings rather than identifiers.
  • Loading branch information
thewilkybarkid authored Nov 25, 2019
1 parent ccc1917 commit 9533ed9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/article-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export default (router: Router): Middleware => (
'@type': hydra.Collection,
[hydra.title]: { '@value': 'List of articles', '@language': 'en' },
'http://www.w3.org/ns/hydra/core#manages': {
'http://www.w3.org/ns/hydra/core#property': rdf.type,
'http://www.w3.org/ns/hydra/core#object': schema.Article,
'http://www.w3.org/ns/hydra/core#property': { '@id': rdf.type },
'http://www.w3.org/ns/hydra/core#object': { '@id': schema.Article },
},
[hydra.totalItems]: 0,
[hydra.member]: { '@list': [] },
Expand Down

0 comments on commit 9533ed9

Please sign in to comment.