Add a missing await expression

This commit is contained in:
Akihiko Odaki 2018-04-05 21:16:14 +09:00
parent ced6b9a76f
commit 068c0b4cce

View File

@ -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 ||