We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8be30f9 commit 109b463Copy full SHA for 109b463
gs/backend/api/v1/mcc/endpoints/commands.py
@@ -12,7 +12,7 @@
12
commands_router = APIRouter(tags=["MCC", "Commands"])
13
14
15
-@commands_router.post("/")
+@commands_router.post("/create")
16
async def create_command(payload: dict[str, Any]) -> Commands:
17
"""
18
Create a new command.
@@ -23,7 +23,7 @@ async def create_command(payload: dict[str, Any]) -> Commands:
23
return create_commands(payload)
24
25
26
-@commands_router.delete("/{command_id}")
+@commands_router.delete("/delete/{command_id}")
27
async def delete_command(command_id: UUID) -> dict[str, Any]:
28
29
Delete a command by ID.
0 commit comments