Skip to content

Commit e3c0860

Browse files
committed
hmmm, this method is being tricksy on me
1 parent aa07368 commit e3c0860

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/travis/listener/app.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,10 +182,10 @@ def event_type
182182
end
183183

184184
def integration_type
185-
if !request_body.blank?
186-
"github_apps"
187-
else
185+
if !params[:payload].blank?
188186
"webhook"
187+
else
188+
"github_apps"
189189
end
190190
end
191191

0 commit comments

Comments
 (0)