Skip to content

Commit

Permalink
Add receipt to urls of Order
Browse files Browse the repository at this point in the history
  • Loading branch information
PJUllrich committed May 28, 2023
1 parent 11f3c0d commit 61a6291
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/lemon_ex/orders/order.ex
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ defmodule LemonEx.Orders.Order do

%__MODULE__{
id: body["id"],
urls: urls,
urls: %{
receipt: urls["receipt"]
},
store_id: attributes["store_id"],
customer_id: attributes["customer_id"],
identifier: attributes["identifier"],
Expand Down

0 comments on commit 61a6291

Please sign in to comment.