Merge pull request #1403 from akihikodaki/duplicate

Add a missing await expression
This commit is contained in:
syuilo 2018-04-05 21:17:47 +09:00 committed by GitHub
commit 46e8fd44c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ async function isCollection(collection) {
}
export default async (parentResolver, value, verifier?: string) => {
const { resolver, object } = parentResolver.resolveOne(value);
const { resolver, object } = await parentResolver.resolveOne(value);
if (
object === null ||