2
0

Reset RequestLimits

This commit is contained in:
Glax 2024-02-28 02:33:43 +01:00
parent 6c9071b22b
commit 17a27c9922

View File

@ -445,6 +445,10 @@ public class Server : GlobalBase
SendResponse(HttpStatusCode.BadRequest, response);
settings.ExportSettings();
break;
case "Settings/customRequestLimit/Reset":
settings.requestLimits = TrangaSettings.DefaultRequestLimits;
settings.ExportSettings();
break;
case "NotificationConnectors/Update":
if (!requestVariables.TryGetValue("notificationConnector", out notificationConnectorStr) ||
!Enum.TryParse(notificationConnectorStr, out notificationConnectorType))