Skip to content

Commit

Permalink
Merge pull request #135 from chamil321/fix-test-driver
Browse files Browse the repository at this point in the history
Fix missing parentheses
  • Loading branch information
chamil321 authored Jul 23, 2020
2 parents d3ed1bf + 87a3609 commit 3e2bdb1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions distributor/src/distributor/messenger.bal
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ function getAwaitResultsMessage(string electionCode, string resultType, string r
string pollingDivision = "/" + (pd_name ?: "<unknown polling division>");

string pdLevelName = "";
if (resultCode.endsWith("PV") {
if (resultCode.endsWith("PV")) {
pdLevelName = "POSTAL";
} else if (resultCode.endsWith("DV") {
} else if (resultCode.endsWith("DV")) {
pdLevelName = "DISPLACED";
} else if (resultCode.endsWith("QV") {
} else if (resultCode.endsWith("QV")) {
pdLevelName = "QUARANTINE";
} else {
pdLevelName = "POLLING-DIVISION";
Expand Down

0 comments on commit 3e2bdb1

Please sign in to comment.