Skip to content

Commit fedcd2a

Browse files
committed
Provide username and access token to CommitAuditor
1 parent 1b636fe commit fedcd2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/workers/commit_collector.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def perform(project_id, project_name, project_username, project_access_token, la
3232
return if commits.size == 0
3333

3434
commits.each do |c|
35-
CommitAuditor.perform_async(project_id, c.to_json, rules, github_token)
35+
CommitAuditor.perform_async(project_id, project_username, project_access_token, c.to_json, rules, github_token)
3636
end
3737

3838
last_commit_time = commits.collect { |c| Time.parse(c[:commit][:author][:date]) }.max

0 commit comments

Comments
 (0)