mirror of
https://github.com/flibusta-apps/services_manager_server.git
synced 2026-03-03 07:00:54 +01:00
Update service create
This commit is contained in:
@@ -8,7 +8,7 @@ from app.models import CachePrivileges, Statuses
|
|||||||
|
|
||||||
class ServiceCreate(BaseModel):
|
class ServiceCreate(BaseModel):
|
||||||
token: constr(max_length=128) # type: ignore
|
token: constr(max_length=128) # type: ignore
|
||||||
user: Optional[str] = None
|
user: int
|
||||||
username: constr(max_length=64) # type: ignore
|
username: constr(max_length=64) # type: ignore
|
||||||
status: Statuses
|
status: Statuses
|
||||||
cache: CachePrivileges
|
cache: CachePrivileges
|
||||||
|
|||||||
Reference in New Issue
Block a user