Skip to content

Commit d9c2166

Browse files
committed
add missing typespecs for params
1 parent 9860fd5 commit d9c2166

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/algora/bounties/bounties.ex

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,12 @@ defmodule Algora.Bounties do
795795
bounty: Bounty.t(),
796796
claims: [Claim.t()]
797797
},
798-
opts :: [ticket_ref: %{owner: String.t(), repo: String.t(), number: integer()}, recipient: User.t()]
798+
opts :: [
799+
ticket_ref: %{owner: String.t(), repo: String.t(), number: integer()},
800+
recipient: User.t(),
801+
success_url: String.t(),
802+
cancel_url: String.t()
803+
]
799804
) ::
800805
{:ok, String.t()} | {:error, atom()}
801806
def authorize_payment(%{owner: owner, amount: amount, bounty: bounty, claims: claims}, opts \\ []) do

0 commit comments

Comments
 (0)