diff --git a/backend/src/seeds/graphql/mutations.ts b/backend/src/seeds/graphql/mutations.ts index d5dc99b99..44a9499bf 100644 --- a/backend/src/seeds/graphql/mutations.ts +++ b/backend/src/seeds/graphql/mutations.ts @@ -161,32 +161,3 @@ export const deletePendingCreation = gql` deletePendingCreation(id: $id) } ` - -export const listTransactionLinksAdmin = gql` - query ( - $userId: Int! - $filters: TransactionLinkFilters - $currentPage: Int = 1 - $pageSize: Int = 5 - ) { - listTransactionLinksAdmin( - userId: $userId - filters: $filters - currentPage: $currentPage - pageSize: $pageSize - ) { - linkCount - linkList { - id - amount - holdAvailableAmount - memo - code - createdAt - validUntil - redeemedAt - deletedAt - } - } - } -` diff --git a/backend/src/seeds/graphql/queries.ts b/backend/src/seeds/graphql/queries.ts index 16b2b71ae..f3b9f03c2 100644 --- a/backend/src/seeds/graphql/queries.ts +++ b/backend/src/seeds/graphql/queries.ts @@ -164,3 +164,32 @@ export const getPendingCreations = gql` } } ` + +export const listTransactionLinksAdmin = gql` + query ( + $userId: Int! + $filters: TransactionLinkFilters + $currentPage: Int = 1 + $pageSize: Int = 5 + ) { + listTransactionLinksAdmin( + userId: $userId + filters: $filters + currentPage: $currentPage + pageSize: $pageSize + ) { + linkCount + linkList { + id + amount + holdAvailableAmount + memo + code + createdAt + validUntil + redeemedAt + deletedAt + } + } + } +`