Skip to content

Commit

Permalink
fix double quote usage
Browse files Browse the repository at this point in the history
  • Loading branch information
10xSebastian committed Dec 9, 2022
1 parent e77f786 commit 9a94364
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions includes/class-depay-wc-payments-rest.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ public function get_checkout_accept( $request ) {
$order = wc_get_order( $order_id );
$response = rest_ensure_response( $accept );
$response->header( 'X-Checkout', json_encode( [
"checkout_id" => $checkout_id,
"order_id" => $order_id,
"total" => $order->get_total(),
"currency" => $order->get_currency()
'checkout_id' => $checkout_id,
'order_id' => $order_id,
'total' => $order->get_total(),
'currency' => $order->get_currency()
] ) );
return $response;
}
Expand Down

0 comments on commit 9a94364

Please sign in to comment.