Skip to content

Commit

Permalink
sort is desc
Browse files Browse the repository at this point in the history
  • Loading branch information
thelostone-mc committed Jun 17, 2024
1 parent cf7389d commit f92fb4f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/data-layer/src/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { gql } from "graphql-request";
export const getProgramsByUserAndTag = gql`
query ($userAddress: String!, $chainIds: [Int!]!, $tags: [String!]!) {
projects(
orderBy: ID_DESC
first: 100
filter: {
tags: { contains: $tags }
Expand Down Expand Up @@ -598,6 +599,7 @@ export const getRoundForManager = gql`
export const getRoundsForManager = gql`
query getRoundsForManager($chainId: Int!, $programId: String!) {
rounds(
orderBy: ID_DESC
first: 1000
filter: {
chainId: { equalTo: $chainId }
Expand All @@ -612,6 +614,7 @@ export const getRoundsForManager = gql`
export const getRoundsForManagerByAddress = gql`
query getRoundsForManager($chainIds: [Int!]!, $address: String!) {
rounds(
orderBy: ID_DESC
first: 1000
filter: {
chainId: {in: $chainIds},
Expand Down

0 comments on commit f92fb4f

Please sign in to comment.