From ed9bf95eee7184100f866db5f8fe17938e97d49e Mon Sep 17 00:00:00 2001 From: Rory Doak Date: Mon, 11 Nov 2024 15:21:13 +0000 Subject: [PATCH] type any fix fix MyMutation naming --- e2e/tests/api-driven/src/demo-workspace/helper.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e2e/tests/api-driven/src/demo-workspace/helper.ts b/e2e/tests/api-driven/src/demo-workspace/helper.ts index f18a32a07b..94b0e57cb3 100644 --- a/e2e/tests/api-driven/src/demo-workspace/helper.ts +++ b/e2e/tests/api-driven/src/demo-workspace/helper.ts @@ -87,8 +87,8 @@ export const createFlowFromArray = async ( slug: flow.slug, }); return flowId; - } catch (error: any) { - console.error(`Error adding flow ${flow.slug}`, error.message); + } catch (error) { + console.error(`Error adding flow ${flow.slug}`, error); return false; } }; @@ -279,7 +279,7 @@ export async function updateFlow(client, flowId: UUID): Promise { export async function deleteFlow(client, flowId: UUID): Promise { const { delete_flows_by_pk: response } = await client.request( gql` - mutation MyMutation($flowId: uuid!) { + mutation deleteFlow($flowId: uuid!) { delete_flows_by_pk(id: $flowId) { id }