Removed duplicate endpoint

This commit is contained in:
Maximilian Giller 2024-01-30 19:31:47 +01:00
parent 1f1020c53a
commit 931e7c1dc0

View file

@ -59,10 +59,6 @@ async def api_idle_a():
async def api_idle_b(): async def api_idle_b():
await queue.set_idle_action(idle_b) await queue.set_idle_action(idle_b)
@app.post("/idle_a")
async def api_idle_a():
await queue.set_idle_action(idle_a)
@app.post("/action_a") @app.post("/action_a")
async def api_action_a(): async def api_action_a():
await queue.add_action_to_queue(action_a) await queue.add_action_to_queue(action_a)