|
|
|
@@ -5,9 +5,9 @@ class Webhook::PullCommentClient |
|
|
|
|
|
|
|
def initialize(webhook, pull, journal, sender, event, action_type='created', comment_json={}) |
|
|
|
@webhook = webhook |
|
|
|
@pull = pull |
|
|
|
@journal = journal |
|
|
|
@sender = sender |
|
|
|
@pull = pull.reload |
|
|
|
@journal = journal.reload |
|
|
|
@sender = sender.reload |
|
|
|
@event = event |
|
|
|
@action_type = action_type |
|
|
|
@comment_json = comment_json |
|
|
|
|