mirror of
https://github.com/C9Glax/tranga.git
synced 2025-02-23 15:50:13 +01:00
nullable
This commit is contained in:
parent
03e90eccd3
commit
c3231327f9
@ -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))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user