Apply verification on devices endpoint

This commit is contained in:
ian
2025-12-08 18:45:06 +07:00
parent e0060230a5
commit e421df1d4a
+2
View File
@@ -26,6 +26,7 @@ export const router = new Elysia({
return { status: 'internal_error', message: 'Server error' }
}
}, {
verifyKey: true,
body: deviceCommandBody,
response: deviceCommandResponseSchema,
detail: {
@@ -56,6 +57,7 @@ export const router = new Elysia({
return { status: 'internal_error', message: 'Server error' }
}
}, {
verifyKey: true,
query: deviceQueryParams,
response: deviceQueryResponseSchema,
detail: {