Skip to content

Commit

Permalink
fix(e2e): Don't write to restricted flows.data column (#2500)
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr authored Nov 30, 2023
1 parent 70baf93 commit 09c08ae
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions e2e/tests/api-driven/src/permissions/queries/flows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@ import { gql } from "graphql-tag";
export const INSERT_FLOW_QUERY = gql`
mutation InsertFlowE2E($team1Id: Int) {
result: insert_flows(
objects: {
data: "{hello: 'world'}"
slug: "e2e-test-flow"
team_id: $team1Id
}
objects: { slug: "e2e-test-flow", team_id: $team1Id }
) {
returning {
id
Expand All @@ -20,7 +16,7 @@ export const UPDATE_FLOW_QUERY = gql`
mutation UpdateFlowE2E($team1FlowId: uuid!) {
result: update_flows_by_pk(
pk_columns: { id: $team1FlowId }
_set: { data: "{hello: 'world2'}" }
_set: { slug: "new-slug" }
) {
id
}
Expand Down

0 comments on commit 09c08ae

Please sign in to comment.