Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
ah-s76 committed May 15, 2024
1 parent 3fd8590 commit b63dc76
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions lib/recognizer/bigcommerce.ex
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,11 @@ defmodule Recognizer.BigCommerce do
end
end

def home_redirect_uri(), do:
config(:store_home_uri)
def home_redirect_uri(), do: config(:store_home_uri)

def login_redirect_uri(user), do:
home_redirect_uri() <> config(:login_path) <> generate_login_jwt(user)
def login_redirect_uri(user), do: home_redirect_uri() <> config(:login_path) <> generate_login_jwt(user)

def logout_redirect_uri(), do:
home_redirect_uri() <> config(:logout_path)
def logout_redirect_uri(), do: home_redirect_uri() <> config(:logout_path)

defp generate_login_jwt(user) do
{:ok, token, _claims} =
Expand Down

0 comments on commit b63dc76

Please sign in to comment.