Apply verification on devices endpoint
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user