Skip to content

Commit

Permalink
fix(app-aco): add limit to the LIST_FOLDERS query (#3534)
Browse files Browse the repository at this point in the history
  • Loading branch information
leopuleo committed Sep 18, 2023
1 parent 779e53c commit dd1b42b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/app-aco/src/graphql/folders.gql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ export const CREATE_FOLDER = gql`
`;

export const LIST_FOLDERS = gql`
query ListFolders ($type: String!) {
query ListFolders ($type: String!, $limit: Int!) {
aco {
listFolders(where: { type: $type }) {
listFolders(where: { type: $type }, limit: $limit) {
data ${DATA_FIELD}
error ${ERROR_FIELD}
}
Expand Down

0 comments on commit dd1b42b

Please sign in to comment.