Use POST instead of GET request to synchronise groups
This commit is contained in:
parent
a2e33ea274
commit
fe92325853
1 changed files with 3 additions and 2 deletions
|
@ -404,7 +404,7 @@ function SyncServer() {
|
|||
this.email=email;
|
||||
this.password=password;
|
||||
try {
|
||||
jQuery.getJSON(
|
||||
jQuery.post(
|
||||
this.url+'/sync',
|
||||
{
|
||||
'email':email,
|
||||
|
@ -421,7 +421,8 @@ function SyncServer() {
|
|||
}
|
||||
}
|
||||
onerror(data);
|
||||
}
|
||||
},
|
||||
'json'
|
||||
).fail(onerror);
|
||||
}
|
||||
catch(e) {
|
||||
|
|
Loading…
Reference in a new issue