From 30a0b39280bbe0c81f7d9ebf25473fa929f84dc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20S=C3=A1?= Date: Mon, 15 Nov 2021 21:18:25 +0000 Subject: [PATCH] refactor: rename Bills to Bill in GraphQL schema --- lib/new-admin/graphql/schema.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/new-admin/graphql/schema.js b/lib/new-admin/graphql/schema.js index c739d10e..5987f298 100644 --- a/lib/new-admin/graphql/schema.js +++ b/lib/new-admin/graphql/schema.js @@ -274,7 +274,7 @@ const typeDefs = gql` valid: Boolean } - type Bills { + type Bill { fiat: Int deviceId: ID created: Date @@ -288,7 +288,7 @@ const typeDefs = gql` operationType: String customBillCount: Int performedBy: String - bills: [Bills] + bills: [Bill] } type Query { @@ -327,7 +327,7 @@ const typeDefs = gql` notifications: [Notification] alerts: [Notification] hasUnreadNotifications: Boolean - bills: [Bills] + bills: [Bill] } type SupportLogsResponse {