diff --git a/modules/ROOT/pages/ogm/reference.adoc b/modules/ROOT/pages/ogm/reference.adoc index 7a11135c..4a2bd2e2 100644 --- a/modules/ROOT/pages/ogm/reference.adoc +++ b/modules/ROOT/pages/ogm/reference.adoc @@ -287,7 +287,7 @@ await Movie.create({ input: [{ title: "The Matrix" }] }) === `delete` This method can be used to delete nodes, and maps to the underlying xref::mutations/delete.adoc[Delete] Mutation. -It returns a `Promise` which resolvers to a `DeleteInfo` object: +It returns a `Promise` which resolves to a `DeleteInfo` object: [cols="1,1,1"] |=== @@ -340,7 +340,7 @@ await User.delete({ where: { name: "Dan" }}); === `find` This method can be used to find nodes, and maps to the underlying schema xref::queries-aggregations/queries.adoc[Queries]. -It returns a `Promise` which resolvers to an array of objects matching the type of the Model. +It returns a `Promise` which resolves to an array of objects matching the type of the Model. ==== Arguments