Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanstapel committed Jan 16, 2024
1 parent d393aec commit 9f9f8c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BrickOwlSharp.Client/BrickOwlClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public async Task<bool> UpdateOrderStatusAsync(int orderId, OrderStatus status,
{
BrickOwlResult result = await ExecutePost<BrickOwlResult>(url, formData, cancellationToken: cancellationToken);
_measureRequest(ResourceType.Order, cancellationToken);
if (result.Status.ToLower() == "success")
if (string.Equals(result.Status, "success", StringComparison.OrdinalIgnoreCase))
{
return true;
}
Expand Down

0 comments on commit 9f9f8c3

Please sign in to comment.