Skip to content

Commit

Permalink
Merge pull request #148 from us3r-network/F-changeToLast0-ttang
Browse files Browse the repository at this point in the history
feat: first change to last
  • Loading branch information
sin-bufan authored Jul 3, 2023
2 parents ebc5a43 + d4015e9 commit 4bdf033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/scan/src/utils/createDefaultQuery.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export function createGraphqlDefaultQuery(modelName: string, propertes: any[]) {
return `
{
${modelName.charAt(0).toLowerCase() + modelName.slice(1)}Index(first: 5) {
${modelName.charAt(0).toLowerCase() + modelName.slice(1)}Index(last: 5) {
edges {
node {
id,${propertes.map((p) => {
Expand Down

0 comments on commit 4bdf033

Please sign in to comment.