Skip to content

Commit 2eb8e1d

Browse files
authored
fix: remove empty security array from tickets plugin schema (#160)
* Ensure that the swagger schema correctly reflects auth on the event ID tickets route.
1 parent 9fe01d9 commit 2eb8e1d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/api/routes/tickets.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ const ticketsPlugin: FastifyPluginAsync = async (fastify, _options) => {
212212
params: z.object({
213213
eventId: z.string().min(1),
214214
}),
215-
security: [],
216215
}),
217216
),
218217
onRequest: fastify.authorizeFromSchema,

0 commit comments

Comments
 (0)