Skip to content

Commit f1f60bf

Browse files
authored
Merge pull request #47 from zw963/master
Fix error in README.md
2 parents 3f20e5a + 956cd9a commit f1f60bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ dependencies:
3434
```crystal
3535
require "multi_auth"
3636

37-
MultiAuth.config("github", ENV['ID'], ENV['SECRET']) # configuration
37+
MultiAuth.config("github", ENV["ID"], ENV["SECRET"]) # configuration
3838

3939
multi_auth = MultiAuth.make(provider, redirect_uri) # initialize engine
4040
multi_auth.authorize_uri # URL to provider authentication dialog
@@ -106,7 +106,7 @@ end
106106
class OAuth::Handler::Callback < BrowserAction
107107
get "/oauth/:provider/callback" do
108108
user = MultiAuthHandler.user(provider, request.query_params)
109-
text user.email.to_s
109+
plain_text user.email.to_s
110110
end
111111
end
112112
```

0 commit comments

Comments
 (0)