mirror of
https://github.com/C9Glax/tranga.git
synced 2025-06-13 14:57:53 +02:00
nullable
This commit is contained in:
@ -16,7 +16,7 @@ public partial class Server
|
||||
return new ValueTuple<HttpStatusCode, object?>(HttpStatusCode.OK, settings.userAgent);
|
||||
}
|
||||
|
||||
private ValueTuple<HttpStatusCode, object?> PostV2SettingsUserAgent(GroupCollection groups, Dictionary<string, string?> requestParameters)
|
||||
private ValueTuple<HttpStatusCode, object?> PostV2SettingsUserAgent(GroupCollection groups, Dictionary<string, string> requestParameters)
|
||||
{
|
||||
if (!requestParameters.TryGetValue("value", out string? userAgent))
|
||||
{
|
||||
|
Reference in New Issue
Block a user