Skip to content

Commit

Permalink
Update getPages.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
azdak committed Oct 24, 2024
1 parent 9083582 commit 9655b89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/getPages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ export const getPages = async ({ request, reply }) => {
result: response?.urls?.map(obj => ({
...obj,
})),
total: response?.urls_aggregate?.count,
total: response?.urls[0]?.urls_aggregate?.count,
};
}

0 comments on commit 9655b89

Please sign in to comment.