Fixed auto-update toggle to refresh upon save

This commit is contained in:
Muhammad Ibrahim
2025-09-26 01:05:49 +01:00
parent 641272dfb8
commit 527b0ccc3c
3 changed files with 127 additions and 10 deletions

View File

@@ -1073,7 +1073,7 @@ router.patch(
});
res.json({
message: `Host auto-update ${autoUpdate ? "enabled" : "disabled"} successfully`,
message: `Host auto-update ${auto_update ? "enabled" : "disabled"} successfully`,
host: {
id: host.id,
friendlyName: host.friendly_name,