Skip to content

Commit

Permalink
Add missing opts to Stripe.ApplicationFee (#693)
Browse files Browse the repository at this point in the history
  • Loading branch information
esse authored Sep 29, 2021
1 parent 35b4018 commit 95898fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/stripe/connect/application_fee.ex
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ defmodule Stripe.ApplicationFee do
@doc """
Retrieves the details of the application fees
"""
@spec retrieve(Stripe.id()) :: {:ok, t} | {:error, Stripe.Error.t()}
def retrieve(id) do
new_request()
@spec retrieve(Stripe.id(), Stripe.options()) :: {:ok, t} | {:error, Stripe.Error.t()}
def retrieve(id, opts \\ []) do
new_request(opts)
|> put_endpoint(@endpoint <> "/#{get_id!(id)}")
|> put_method(:get)
|> make_request()
Expand Down

0 comments on commit 95898fe

Please sign in to comment.