cookie-dialog-monster/packages/api/src/routes/v1/entries.ts

16 lines
458 B
TypeScript
Raw Normal View History

2022-05-23 16:13:55 +00:00
import { FastifyInstance, RouteShorthandOptions } from 'fastify';
2024-08-03 10:57:48 +00:00
/**
* @deprecated This API route is no longer supported. Please use a newer version
*/
2022-05-23 16:13:55 +00:00
export default (server: FastifyInstance, options: RouteShorthandOptions, done: () => void) => {
server.get('/entries/', async (request, reply) => {
2024-08-03 10:57:48 +00:00
reply.send({
success: false,
errors: ['This API route is no longer supported. Please use a newer version'],
});
2022-05-23 16:13:55 +00:00
});
done();
};