Skip to content

Commit

Permalink
type any fix
Browse files Browse the repository at this point in the history
fix MyMutation naming
  • Loading branch information
RODO94 committed Nov 11, 2024
1 parent 1623a33 commit ed9bf95
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions e2e/tests/api-driven/src/demo-workspace/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
};
Expand Down Expand Up @@ -279,7 +279,7 @@ export async function updateFlow(client, flowId: UUID): Promise<UUID> {
export async function deleteFlow(client, flowId: UUID): Promise<UUID> {
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
}
Expand Down

0 comments on commit ed9bf95

Please sign in to comment.