Skip to content

Commit

Permalink
Fix generate_link types
Browse files Browse the repository at this point in the history
  • Loading branch information
LauraBeatris committed Dec 9, 2023
1 parent 4a206eb commit 9947e3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/workos/portal.ex
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ defmodule WorkOS.Portal do
)

@spec generate_link(map()) ::
WorkOS.Client.response(String.t())
WorkOS.Client.response(Link)
@spec generate_link(WorkOS.Client.t(), map()) ::
WorkOS.Client.response(String.t())
WorkOS.Client.response(Link)
def generate_link(client, opts)
when is_map_key(opts, :organization) and is_map_key(opts, :intent) do
WorkOS.Client.post(
Expand Down

0 comments on commit 9947e3e

Please sign in to comment.