File tree 1 file changed +3
-10
lines changed
1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -61,10 +61,7 @@ class AdminResponse(BaseModel):
61
61
@atomic ()
62
62
@router .get ("/union" ,
63
63
response_model = AdminResponse ,
64
- response_description = """Successful calculation of team points and coin updates.
65
-
66
- Note: Returns msg_code 401 if authentication fails.
67
- """ )
64
+ )
68
65
async def calculate_team_coins (
69
66
response : Response , req : Request
70
67
): # Inefficient, anyways will be used only once
@@ -98,12 +95,8 @@ async def calculate_team_coins(
98
95
99
96
100
97
@router .get ("/create" ,
101
- response_model = AdminResponse ,
102
- response_description = """Database initialization with sample data.
103
-
104
- Note: Returns msg_code 401 if authentication fails.
105
- This endpoint should only be used in development environment.
106
- """ )
98
+ response_model = AdminResponse
99
+ )
107
100
async def init_db (
108
101
response : Response , req : Request
109
102
): # Inefficient, anyways will be used only once
You can’t perform that action at this time.
0 commit comments