Fix typo in the presence endpoint
This commit is contained in:
@@ -114,8 +114,8 @@ def create_op25_router(bot_manager: DiscordBotManager):
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
raise HTTPException(status_code=500, detail=str(e))
|
raise HTTPException(status_code=500, detail=str(e))
|
||||||
|
|
||||||
@router.post("/update-prensece")
|
@router.post("/update-presence")
|
||||||
async def update_prensece():
|
async def update_presence():
|
||||||
current_system = get_current_system_from_config()
|
current_system = get_current_system_from_config()
|
||||||
if not current_system:
|
if not current_system:
|
||||||
raise HTTPException(status_code=500, detail="Unable to get current system.")
|
raise HTTPException(status_code=500, detail="Unable to get current system.")
|
||||||
|
|||||||
Reference in New Issue
Block a user