Sitelet https://github.com/barchito/parse-server-example/commit/7a84a099fefeac2f7461af339379e5688b19e7c1
Skip to content

Commit 7a84a09

Browse files
committed
update application app id
1 parent 3ab7ae1 commit 7a84a09

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎public/assets/js/script.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,14 @@ XHR.setCallback = function(callback) {
133133
XHR.POST = function(path, callback) {
134134
var seed = {"score":1337,"playerName":"Sean Plott","cheatMode":false}
135135
this.xhttp.open("POST", Config.getUrl() + path, true);
136-
this.xhttp.setRequestHeader("X-Parse-Application-Id", "myAppId");
136+
this.xhttp.setRequestHeader("X-Parse-Application-Id", "BookiaApp");
137137
this.xhttp.setRequestHeader("Content-type", "application/json");
138138
this.xhttp.send(JSON.stringify(seed));
139139
}
140140

141141
XHR.GET = function(path, callback) {
142142
this.xhttp.open("GET", Config.getUrl() + path + '/' + Store.objectId, true);
143-
this.xhttp.setRequestHeader("X-Parse-Application-Id", "myAppId");
143+
this.xhttp.setRequestHeader("X-Parse-Application-Id", "BookiaApp");
144144
this.xhttp.setRequestHeader("Content-type", "application/json");
145145
this.xhttp.send(null);
146146
}

0 commit comments

Comments
 (0)