From 16d530489d3d58ae657bb1c77c95c1b990b42678 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Sat, 2 Oct 2021 12:34:03 +0200 Subject: [PATCH] fixed query transactionsQuery --- frontend/src/graphql/queries.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/graphql/queries.js b/frontend/src/graphql/queries.js index 0aadb3345..c11abee50 100644 --- a/frontend/src/graphql/queries.js +++ b/frontend/src/graphql/queries.js @@ -32,7 +32,7 @@ export const loginViaEmailVerificationCode = gql` ` export const transactionsQuery = gql` - query($currentPage: Int = 1, $pageSize: Int = 25, $order: String = "DESC") { + query($currentPage: Int = 1, $pageSize: Int = 25, $order: Order = DESC) { transactionList(currentPage: $currentPage, pageSize: $pageSize, order: $order) { gdtSum count