Skip to content

Commit c88fa03

Browse files
author
Andreas Knöpfle
committed
old token removed
1 parent 7769fc3 commit c88fa03

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

app/controllers/sidebar_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ def index
66
index!
77
end
88
def collection
9-
client = Octokit::Client.new(:login => "andreasknoepfle", :oauth_token => "7efadc02607bedb20e8d07b6820e7a9e4a73f6c1")
9+
client = Octokit::Client.new(:login => Settings.apis.github.user, :oauth_token => Settings.apis.github.token)
1010
client.user_events("andreasknoepfle")
1111

1212
end

config/settings.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
apis:
2-
github: githubtoken
2+
github:
3+
token: githubtoken
4+
user: username

0 commit comments

Comments
 (0)