hide event register from schema

This commit is contained in:
Darius
2026-02-05 01:10:30 +01:00
parent 7fd3e4b9d3
commit 4db61998bd

View File

@@ -15,11 +15,12 @@ export async function sseRoutes(
}, },
) { ) {
fastify.get( fastify.get(
"/events", "/registerForEvents",
{ {
schema: { schema: {
description: "Register for SSE", description: "Register for SSE",
tags: ["sse"], tags: ["sse"],
hide: true
}, },
}, },
async (request, reply) => { async (request, reply) => {