Added status changing information
This commit is contained in:
@@ -19,6 +19,7 @@ export const QUERY_BODYSHOP = gql`
|
||||
state_tax_id
|
||||
updated_at
|
||||
zip_post
|
||||
region_config
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -321,3 +321,13 @@ export const INSERT_NEW_JOB = gql`
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export const UPDATE_JOB_STATUS = gql`
|
||||
mutation UPDATE_JOB_STATUS($jobId: uuid!, $status: String!) {
|
||||
update_jobs(where: { id: { _eq: $jobId } }, _set: { status: $status }) {
|
||||
returning {
|
||||
id
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user