summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/sdk/account.js
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/www/js/sdk/account.js')
-rw-r--r--StoneIsland/www/js/sdk/account.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/StoneIsland/www/js/sdk/account.js b/StoneIsland/www/js/sdk/account.js
index 3dfe2cfe..7e7eb3dc 100644
--- a/StoneIsland/www/js/sdk/account.js
+++ b/StoneIsland/www/js/sdk/account.js
@@ -5,7 +5,7 @@ sdk.account = (function(){
// https://gist.github.com/fanfare/d18498e7fa25acbd4486
var account = {}
account.signup = function(opt){
- $.ajax({
+ return $.ajax({
method: "POST",
url: sdk.path("Account.API/1.5", "users.json"),
headers: {
@@ -26,7 +26,7 @@ sdk.account = (function(){
}
account.login = function(opt){
- $.ajax({
+ return $.ajax({
method: "POST",
url: sdk.path("Account.API/1.5", "authfull.json"),
headers: {