Skip to content

Commit

Permalink
fix(bitbucket): typo on eventType switch (#591)
Browse files Browse the repository at this point in the history
  • Loading branch information
estebangarcia authored and robzienert committed Jul 2, 2019
1 parent 6f6b500 commit 6c18cca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ private String getFullRepoName(Event event) {

String eventType = event.content.get("event_type").toString();
switch (eventType) {
case "repo:refs_changesd":
case "repo:refs_changed":
return ((Map<String, Object>) event.content.get("repository")).get("name").toString();
case "pr:merged":
Map<String, Object> toRef =
Expand Down

0 comments on commit 6c18cca

Please sign in to comment.