MSP-2370 add new admin endpoint domains

This commit is contained in:
d1slike committed 2023-11-14 12:34:32 +03:00
1 parent 011cdd022c
commit b938e2f81d
1 file changed
+9
+9
View File
@@ -18,3 +18,12 @@ type AuthorizeRequest struct {
type AuthorizeResponse struct {
Authorized bool
}
type AdminAuthorizeRequest struct {
AdminId int
Permission string
}
type AdminAuthorizeResponse struct {
Authorized bool
}