Skip to content

Commit b2ab267

Browse files
authored
Merge pull request #172 from MaryamZi/master
Update to staging URL
2 parents 28d91dd + a09d575 commit b2ab267

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

distributor/web/info.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
****** IMPORTANT *******
44
**
5-
** The latest version of the subscriber JAR is subscriber-20200731-I.jar
5+
** The latest version of the subscriber JAR is subscriber-20200803-I.jar
66
**
7-
** Available at https://github.com/ECLK/Results-Dist/releases/tag/v2020-07-31-I
7+
** Available at https://github.com/ECLK/Results-Dist/releases/tag/v2020-08-03-I
88
**
99
****** IMPORTANT *******
1010

1111
Run it as follows:
1212

13-
java -jar subscriber-20200731-I.jar [options]
13+
java -jar subscriber-20200803-I.jar [options]
1414

1515
where options are:
1616
-username=name my username for authentication
@@ -21,7 +21,7 @@ where options are:
2121
-html=true|false do I want HTML output (default: false)
2222
-image=true|false do I want release proof image (default: false)
2323
-wantCode=true|false do I want the electionCode in the filename (default: false)
24-
-homeURL=URL subscription URL (default: https://mediaresultshub.ecdev.opensource.lk)
24+
-homeURL=URL subscription URL (default: https://mediaresultshub.ecstag.opensource.lk)
2525

2626

2727
*** End Message

subscriber/src/subscriber/constants.bal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const LEVEL_NF = "NATIONAL-FINAL";
99
const WANT_IMAGE = "image=true";
1010
const WANT_AWAIT_RESULTS = "await=true";
1111

12-
const MY_VERSION = "2020-07-31-I";
12+
const MY_VERSION = "2020-08-03-I";
1313

1414
const UNDERSOCRE = "_";
1515
const COLON = ":";

subscriber/src/subscriber/subscriber.bal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function main (string? username = (), // my username
2929
boolean html = false, // do I want HTML?
3030
//boolean sorted = true, // do I want HTML results sorted highest to lowest
3131
boolean wantCode = false, // do I want electionCode in the filename
32-
string homeURL = "https://mediaresultshub.ecdev.opensource.lk" // where do I connect at
32+
string homeURL = "https://mediaresultshub.ecstag.opensource.lk" // where do I connect at
3333
) returns @tainted error? {
3434
// Set the election type
3535
electionType = ELECTION_TYPE_PARLIAMENTARY;
@@ -108,7 +108,7 @@ public function main (string? username = (), // my username
108108
callbackService = imageAndResultDataClientService;
109109
kinds = "result data and PDF";
110110
} else {
111-
queryString = "&" + WANT_IMAGE;
111+
queryString = queryString + "&" + WANT_IMAGE;
112112
callbackService = allClientService;
113113
kinds = "await notification, result data, and PDF";
114114
}

0 commit comments

Comments
 (0)