Added shop settings form to update groups.
This commit is contained in:
@@ -9,3 +9,15 @@ export const QUERY_BODYSHOP = gql`
|
||||
}
|
||||
}
|
||||
`;
|
||||
export const UPDATE_SHOP = gql`
|
||||
mutation UPDATE_SHOP($id: uuid, $shop: bodyshops_set_input!) {
|
||||
update_bodyshops(where: { id: { _eq: $id } }, _set: $shop) {
|
||||
returning {
|
||||
id
|
||||
shopname
|
||||
targets
|
||||
accepted_ins_co
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user