Skip to content

Commit

Permalink
Use aggregated_user_transactions as the new database for the user act…
Browse files Browse the repository at this point in the history
…ions aggregate query
  • Loading branch information
user committed Jan 10, 2024
1 parent 6c3a510 commit 2fe13cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions web/app.fluidity.money/app/queries/useUserActionsAggregate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const queryByAddress: Queryable = {
$address: String!
$token: String
) {
arbitrum: aggregated_user_transactions_lootbottles(
arbitrum: aggregated_user_transactions(
order_by: { time: desc }
limit: $limit
offset: $offset
Expand Down Expand Up @@ -62,7 +62,7 @@ const queryByAddress: Queryable = {
$limit: Int = 12
$address: String!
) {
solana: aggregated_user_transactions_lootbottles(
solana: aggregated_user_transactions(
order_by: { time: desc }
limit: $limit
offset: $offset
Expand Down Expand Up @@ -100,7 +100,7 @@ const queryByAddress: Queryable = {
const queryAll: Queryable = {
arbitrum: gql`
query aggregatedUserTransactionsAll($offset: Int = 0, $limit: Int = 12) {
arbitrum: aggregated_user_transactions_lootbottles(
arbitrum: aggregated_user_transactions(
order_by: { time: desc }
limit: $limit
offset: $offset
Expand Down Expand Up @@ -128,7 +128,7 @@ const queryAll: Queryable = {
`,
solana: gql`
query aggregatedUserTransactionsAll($offset: Int = 0, $limit: Int = 12) {
solana: aggregated_user_transactions_lootbottles(
solana: aggregated_user_transactions(
order_by: { time: desc }
limit: $limit
offset: $offset
Expand Down

0 comments on commit 2fe13cd

Please sign in to comment.