From ef12b8a3a781970d7b85f435b99923be38273805 Mon Sep 17 00:00:00 2001 From: Nell Hardcastle Date: Mon, 2 Dec 2024 13:35:01 -0800 Subject: [PATCH] fix(api): Correct return format for snapshotValidation resolver --- packages/openneuro-server/src/graphql/resolvers/validation.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/openneuro-server/src/graphql/resolvers/validation.ts b/packages/openneuro-server/src/graphql/resolvers/validation.ts index 5e6870798..63de8c8d3 100644 --- a/packages/openneuro-server/src/graphql/resolvers/validation.ts +++ b/packages/openneuro-server/src/graphql/resolvers/validation.ts @@ -36,7 +36,6 @@ export const snapshotValidation = async (snapshot) => { datasetId, }) .exec() - .then((data) => (data ? data.issues : null)) } /**