Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Fix the order endpoint tax line items format (#11796)
Browse files Browse the repository at this point in the history
  • Loading branch information
hsingyuc authored Nov 16, 2023
1 parent 2ec01df commit 879b1d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/StoreApi/Schemas/V1/OrderSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ function( $item ) {
function( $item ) {
return [
'name' => $item->get_name(),
'price' => $item->get_tax_total(),
'price' => $this->prepare_money_response( $item->get_tax_total() ),
'rate' => strval( $item->get_rate_percent() ),
];
},
Expand Down

0 comments on commit 879b1d2

Please sign in to comment.