Update associations issues.

This commit is contained in:
Patrick Fic
2021-04-23 09:46:34 -07:00
parent 8688582bec
commit 75b1c080d6
6 changed files with 100 additions and 24 deletions

View File

@@ -1,8 +1,8 @@
import { gql } from "@apollo/client";
export const QUERY_SHOP_ASSOCIATIONS = gql`
query QUERY_SHOP_ASSOCIATIONS {
associations {
query QUERY_SHOP_ASSOCIATIONS($shopid: uuid!) {
associations(where: { shopid: { _eq: $shopid } }) {
id
authlevel
shopid