Skip to content

Commit

Permalink
Misnamed variables (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
crazy-max authored and hypery2k committed Sep 11, 2019
1 parent 9544fe5 commit 5c21498
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -397,11 +397,11 @@ public RocketClient newRocketChatClient(AbstractBuild r, BuildListener listener)
}
String webhookTokenCredentialId = this.webhookTokenCredentialId;
if (StringUtils.isEmpty(webhookTokenCredentialId)) {
channel = getDescriptor().getWebhookTokenCredentialId();
webhookTokenCredentialId = getDescriptor().getWebhookTokenCredentialId();
}
String webhookToken = this.webhookToken;
if (StringUtils.isEmpty(webhookToken)) {
channel = getDescriptor().getWebhookToken();
webhookToken = getDescriptor().getWebhookToken();
}

EnvVars env;
Expand Down

0 comments on commit 5c21498

Please sign in to comment.