Skip to content

Commit

Permalink
Merge pull request #276 from commercetools/gen-sdk-updates
Browse files Browse the repository at this point in the history
Update generated SDKs
  • Loading branch information
kodiakhq[bot] authored Feb 21, 2024
2 parents 8090cde + 232418a commit b09186a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<details>
<summary>Required Property(s)</summary>

- changed property `priceMode` of type `CustomLineItemDraft` to be optional
- changed property `oldShipmentState` of type `OrderShipmentStateChangedMessage` to be optional
- changed property `oldOrderState` of type `OrderStateChangedMessage` to be optional
- changed property `oldShipmentState` of type `OrderShipmentStateChangedMessagePayload` to be optional
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ await WithUpdateableCustomer(
}
);
}

[Fact]
public async Task LoginFails()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ public static IErrorResponse AsErrorResponse(this ApiHttpException exception)
{
return exception.ResponseBody as IErrorResponse;
}

public static bool HasErrorCode(this IErrorResponse errorResponse, string errorCode) {

public static bool HasErrorCode(this IErrorResponse errorResponse, string errorCode)
{
return errorResponse.Errors.Any(o => o.Code.Equals(errorCode));
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ public static IErrorResponse AsErrorResponse(this ApiHttpException exception)
{
return exception.ResponseBody as IErrorResponse;
}

public static bool HasErrorCode(this IErrorResponse errorResponse, string errorCode) {

public static bool HasErrorCode(this IErrorResponse errorResponse, string errorCode)
{
return errorResponse.Errors.Any(o => o.Code.Equals(errorCode));
}
}
Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -221,3 +221,4 @@ be578831c2178be70f96067afc7f51dc08a513e3
3ac46e79b1cfbcb5f09ff4306b26075dd60d14e0
ffed231e91d01608e1bb08ecc1883cf00d9d9293
2645451ae6aef245e333b2f30cf5cb3627f71403
65619eef7e065950cbb92467d72eaacc68004a14

0 comments on commit b09186a

Please sign in to comment.