decentralised message store

refactor: http handler signature

serenity 981f84e9 c5c0b2aa

Changed files
+2 -2
src
lib
types
+2 -2
src/lib/types/routes.ts
···
import type { WebSocket } from "ws";
export type RouteHandler = (
-
req: FastifyRequest | undefined,
-
reply: FastifyReply | undefined,
+
req: FastifyRequest,
+
reply: FastifyReply,
) => Response | Promise<Response>;
export type Method = "GET" | "POST" | "PUT" | "DELETE" | "PATCH";