Skip to content
Browse files

lookup build by id

  • Loading branch information...
1 parent c88bb72 commit 76aed0d81eb584412a1db7891ee1e22b3dcdacc4 @fugufish committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 app/models/hook_worker.rb
View
1 app/models/hook_worker.rb
@@ -2,6 +2,7 @@ class HookWorker
@queue = :hooks
def self.perform(to_send, build, recipients)
+ build = Build.find(build["id"])
BigTuna::Hooks::Mailer::Sender.send(to_send, build, recipients)
end

0 comments on commit 76aed0d

Please sign in to comment.
Something went wrong with that request. Please try again.