Add a missing await expression
This commit is contained in:
parent
ced6b9a76f
commit
068c0b4cce
|
@ -10,7 +10,7 @@ async function isCollection(collection) {
|
||||||
}
|
}
|
||||||
|
|
||||||
export default async (parentResolver, value, verifier?: string) => {
|
export default async (parentResolver, value, verifier?: string) => {
|
||||||
const { resolver, object } = parentResolver.resolveOne(value);
|
const { resolver, object } = await parentResolver.resolveOne(value);
|
||||||
|
|
||||||
if (
|
if (
|
||||||
object === null ||
|
object === null ||
|
||||||
|
|
Loading…
Reference in New Issue