We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74d3739 commit 9d0dcbaCopy full SHA for 9d0dcba
src/server/routes/query.ts
@@ -19,6 +19,6 @@ export default async (fastify: FastifyInstance) => {
19
return { error: error.message }
20
}
21
22
- return data
+ return data || []
23
})
24
0 commit comments