From 219f50b0bc7a520655a5ae4f1d8b08fd04c8a3dd Mon Sep 17 00:00:00 2001 From: Jessica Boezwinkle Date: Mon, 8 May 2023 14:45:42 +0100 Subject: [PATCH] fix: correct casing on graphql type --- src/express/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/express/types.ts b/src/express/types.ts index 9ce8569a2e..0f42f44f1a 100644 --- a/src/express/types.ts +++ b/src/express/types.ts @@ -27,7 +27,7 @@ export declare type PayloadRequest = Request & { * */ collection?: Collection; /** What triggered this request */ - payloadAPI: 'REST' | 'local' | 'graphQL'; + payloadAPI?: 'REST' | 'local' | 'GraphQL'; /** Uploaded files */ files?: { /**