RequestHandler: Save config after profile parameter change

Fixes a bug where changed parameters were not applying across loads

Fixes #895
This commit is contained in:
tt2468 2022-02-13 14:46:11 -08:00
parent c64e360c2d
commit 341259e610

View File

@ -408,6 +408,8 @@ RequestResult RequestHandler::SetProfileParameter(const Request& request)
return RequestResult::Error(RequestStatus::InvalidRequestFieldType, "The field `parameterValue` must be a string.");
}
config_save(profile);
return RequestResult::Success();
}