Apply verification on devices endpoint

This commit is contained in:
ian committed 2025-12-08 18:45:06 +07:00
1 parent e0060230a5
commit e421df1d4a
1 file changed
+2
+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: {