Skip to content

Commit 9374956

Browse files
committed
bug fix to playground example.
1 parent 8aa20f3 commit 9374956

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

JSONAPI.playground/Pages/PATCHing.xcplaygroundpage/Contents.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ print("Received dog with owner: \(dog3 ~> \.owner)")
108108

109109
// give the dog an owner
110110
let changedDog3 = dog3.replacingRelationships { _ in
111-
return .init(owner: .init(id: ID(rawValue: "1")))
111+
return .init(owner: .init(id: Id(rawValue: "1")))
112112
}
113113

114114
// create a document to be used as a request body for a PATCH request

0 commit comments

Comments
 (0)