Skip to content

Commit 6b80f9a

Browse files
committed
fixes sso endpoint
1 parent e8392a2 commit 6b80f9a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs-repo-monitor/app.rb

+6-2
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,13 @@
5959

6060
client = Octokit::Client.new :access_token => ENV['git_token']
6161
@pr = JSON.parse(request.body.read)
62+
@repos = ""
63+
@num = ""
6264
if @pr['action'] == "opened"
63-
@repo = @pr['repo']['full_name']
65+
@repos = @pr['repository']['full_name']
66+
puts @repos
6467
@num = @pr['number']
65-
client.add_comment(@repo, @num, "Docs team: find out if these changes need to be made to the master-pws branch as well, if so cherry-pick them.")
68+
puts @num
69+
client.add_comment(@repos, @num, "Docs team: find out if these changes need to be made to the master-pws branch as well, if so cherry-pick them.")
6670
end
6771
end

0 commit comments

Comments
 (0)