Changed types
This commit is contained in:
@@ -26,6 +26,7 @@ export default async function resourceRoutesSpecial(server: FastifyInstance) {
|
||||
return reply.code(400).send({ error: error.message });
|
||||
}
|
||||
|
||||
// @ts-ignore
|
||||
const sorted =sortData(data,sort,asc === "true" ? true : false)
|
||||
|
||||
return sorted;
|
||||
|
||||
Reference in New Issue
Block a user