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