10 lines
253 B
TypeScript
10 lines
253 B
TypeScript
import { type FastifyReply, type FastifyRequest } from "fastify";
|
|
import { testdb } from "../../store/store.js";
|
|
|
|
const test = async (request: FastifyRequest, reply: FastifyReply) => {
|
|
testdb();
|
|
|
|
return [{ name: "Alice" }];
|
|
};
|
|
|
|
export { test };
|