ueberauth / ueberauth_github

GitHub OAuth2 Strategy for Überauth
MIT License
102 stars 53 forks source link

Wrong Map.get usage #18

Closed mike-kasianov closed 7 years ago

mike-kasianov commented 7 years ago

Just trying to visit /auth/github I see an exception expected a map, got: [uid_field: :login, default_scope: "user,public_repo", oauth2_module: Ueberauth.Strategy.Github.OAuth]

Looks like Map.get receives a keyword list as first argument instead of a Map. deps/ueberauth_github/lib/ueberauth/strategy/github.ex:214 master branch

doomspork commented 7 years ago

@mike-kasianov would you like to open a PR to correct this?

mike-kasianov commented 7 years ago

@doomspork Just pushed the fix #19