Added shop settings form to update groups.

This commit is contained in:
Patrick Fic
2020-10-19 10:42:41 -07:00
parent 4d5d370ccf
commit 65165906d4
13 changed files with 363 additions and 4 deletions

View File

@@ -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
}
}
}
`;