Skip to content

Commit

Permalink
fix(e2e): Don't write to restricted flows.data column
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr committed Nov 30, 2023
1 parent 70baf93 commit 1db98f9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions e2e/tests/api-driven/src/permissions/queries/flows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ export const INSERT_FLOW_QUERY = gql`
mutation InsertFlowE2E($team1Id: Int) {
result: insert_flows(
objects: {
data: "{hello: 'world'}"
slug: "e2e-test-flow"
team_id: $team1Id
}
Expand All @@ -20,7 +19,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 1db98f9

Please sign in to comment.