Skip to content

Commit 72131d8

Browse files
SP-729 Support .NET 8.0
1 parent e2da417 commit 72131d8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

BitPay/Clients/BillClient.cs

+5-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,11 @@ public async Task<List<Bill>> GetBills(string? status = null)
147147
/// <throws>BitPayApiException BitPayApiException class</throws>
148148
public async Task<Bill> UpdateBill(Bill bill, string billId)
149149
{
150-
if (bill == null) BitPayExceptionProvider.ThrowMissingParameterException();
150+
if (bill == null)
151+
{
152+
BitPayExceptionProvider.ThrowMissingParameterException();
153+
throw new InvalidOperationException();
154+
}
151155

152156
string json = null!;
153157

Directory.Build.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
<PropertyGroup>
33
<Nullable>enable</Nullable>
44
<LangVersion>latest</LangVersion>
5-
<TargetFrameworks>netstandard2.0;net6.0;net7.0;net8.0</TargetFrameworks>
5+
<TargetFrameworks>net48;net6.0;net7.0;net8.0</TargetFrameworks>
66
</PropertyGroup>
77
</Project>

0 commit comments

Comments
 (0)