Skip to content

Commit

Permalink
fix cast bool
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Mar 30, 2024
1 parent 987992f commit 58c7cab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration/csharp/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ private static async Task AssertInsert(Client client)

Response message = await client.Test().Insert(payload);

if (!message.Success) {
if (!(message.Success ?? false)) {
throw new Exception("Test assertInsert failed: Success, got: " + message.Success);
}

Expand Down

0 comments on commit 58c7cab

Please sign in to comment.