mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-18 21:32:27 +01:00
Remove "#nullable enable" directive and unnecessary operators
This commit is contained in:
parent
23aaf794ef
commit
0074790684
@ -196,11 +196,9 @@ namespace BTCPayServer.Services.Rates
|
||||
throw new APIException(text);
|
||||
}
|
||||
api.ProcessResponse(new InternalHttpWebResponse(webHttpResponse));
|
||||
#nullable enable
|
||||
Action<IAPIRequestMaker, RequestMakerState, object>? requestStateChanged = RequestStateChanged;
|
||||
if (requestStateChanged != null)
|
||||
if (RequestStateChanged != null)
|
||||
{
|
||||
requestStateChanged!(this, RequestMakerState.Finished, text);
|
||||
RequestStateChanged(this, RequestMakerState.Finished, text);
|
||||
return text;
|
||||
}
|
||||
return text;
|
||||
|
Loading…
Reference in New Issue
Block a user