Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First draft of the Telegram strategy #152

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Telegram strategy: allow only maps as response_params
  • Loading branch information
vheathen committed Jun 13, 2024
commit 2a5f5dbaf6e77d8f3c2c341bb56b6a021d2f5451
2 changes: 1 addition & 1 deletion lib/assent/strategies/telegram.ex
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ defmodule Assent.Strategies.Telegram do
end

@impl Assent.Strategy
def callback(config, response_params) do
def callback(config, %{} = response_params) do
config = enrich_config(config)

with :ok <- do_preflight_checks(config, response_params),
Expand Down