mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-21 22:11:48 +01:00
Remove "#nullable enable" directive and unnecessary operators
This commit is contained in:
parent
23aaf794ef
commit
0074790684
1 changed files with 2 additions and 4 deletions
|
@ -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…
Add table
Reference in a new issue