hide event register from schema
This commit is contained in:
@@ -15,11 +15,12 @@ export async function sseRoutes(
|
||||
},
|
||||
) {
|
||||
fastify.get(
|
||||
"/events",
|
||||
"/registerForEvents",
|
||||
{
|
||||
schema: {
|
||||
description: "Register for SSE",
|
||||
tags: ["sse"],
|
||||
hide: true
|
||||
},
|
||||
},
|
||||
async (request, reply) => {
|
||||
|
||||
Reference in New Issue
Block a user