clarify config/set endpoint response message

this legacy message is not consumed anywhere by the frontend so this change is just to avoid user confusion
This commit is contained in:
Josh Hawkins
2026-07-15 07:18:03 -05:00
parent 0e2e95714f
commit da635749ba
+5 -1
View File
@@ -971,7 +971,11 @@ def config_set(request: Request, body: AppConfigSetBody):
content=( content=(
{ {
"success": True, "success": True,
"message": "Config successfully updated, restart to apply", "message": (
"Config successfully updated"
if body.requires_restart == 0
else "Config successfully updated, restart to apply"
),
} }
), ),
status_code=200, status_code=200,