mirror of https://github.com/vapor/docs.git
Merge pull request #140 from brokenhandsio/master
Add missing type to Parent relation example
This commit is contained in:
commit
057f45741d
|
|
@ -81,7 +81,7 @@ extension Pet {
|
|||
|
||||
...
|
||||
|
||||
var owner: <Pet, User> {
|
||||
var owner: Parent<Pet, User> {
|
||||
return parent(id: userId)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue