fixed filter client sessions

This commit is contained in:
Sean Macfarlane
2020-06-12 17:38:02 -04:00
parent 3602c569cb
commit 6f1d87a5f5
3 changed files with 17 additions and 16 deletions

View File

@@ -76,8 +76,8 @@ export const GET_LOCATION = gql`
`;
export const FILTER_CLIENT_SESSIONS = gql`
query FilterClientSessions($customerId: Int!, $cursor: String) {
getAllClientSessions(customerId: $customerId, cursor: $cursor) {
query FilterClientSessions($customerId: Int!, $locationIds: [Int], $cursor: String) {
filterClientSessions(customerId: $customerId, locationIds: $locationIds, cursor: $cursor) {
items {
id
macAddress