We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7769fc3 commit c88fa03Copy full SHA for c88fa03
2 files changed
app/controllers/sidebar_controller.rb
@@ -6,7 +6,7 @@ def index
6
index!
7
end
8
def collection
9
- client = Octokit::Client.new(:login => "andreasknoepfle", :oauth_token => "7efadc02607bedb20e8d07b6820e7a9e4a73f6c1")
+ client = Octokit::Client.new(:login => Settings.apis.github.user, :oauth_token => Settings.apis.github.token)
10
client.user_events("andreasknoepfle")
11
12
config/settings.yml
@@ -1,2 +1,4 @@
1
apis:
2
- github: githubtoken
+ github:
3
+ token: githubtoken
4
+ user: username
0 commit comments