Skip to content

Commit

Permalink
getPages response: fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
azdak committed Oct 18, 2024
1 parent 61e9353 commit 85ae79c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/getPages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const getPages = async ({ request, reply }) => {

return {
status: 'success',
result: response.map(
result: response?.urls?.map(
({
url,
id,
Expand All @@ -39,6 +39,6 @@ export const getPages = async ({ request, reply }) => {
updated_at:last_scanned
}
})=>({ url, id, property_name, property_id, last_scanned })),
total: response?.count,
total: response?.urls?.count,
};
}

0 comments on commit 85ae79c

Please sign in to comment.