Skip to content

Commit 3a30d2f

Browse files
committed
Fix links in serializer example.
1 parent 56c061c commit 3a30d2f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -793,14 +793,14 @@ This returns results like this:
793793
"relationships": {
794794
"section": {
795795
"links": {
796-
"self": "http://example.com/posts/1/links/section",
796+
"self": "http://example.com/posts/1/relationships/section",
797797
"related": "http://example.com/posts/1/section"
798798
},
799799
"data": null
800800
},
801801
"author": {
802802
"links": {
803-
"self": "http://example.com/posts/1/links/author",
803+
"self": "http://example.com/posts/1/relationships/author",
804804
"related": "http://example.com/posts/1/author"
805805
},
806806
"data": {
@@ -810,13 +810,13 @@ This returns results like this:
810810
},
811811
"tags": {
812812
"links": {
813-
"self": "http://example.com/posts/1/links/tags",
813+
"self": "http://example.com/posts/1/relationships/tags",
814814
"related": "http://example.com/posts/1/tags"
815815
}
816816
},
817817
"comments": {
818818
"links": {
819-
"self": "http://example.com/posts/1/links/comments",
819+
"self": "http://example.com/posts/1/relationships/comments",
820820
"related": "http://example.com/posts/1/comments"
821821
}
822822
}

0 commit comments

Comments
 (0)