projects
/
osm
/
UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "RIFT-14989: Login fixes for Accounts and RO Config pages"
[osm/UI.git]
/
skyquake
/
plugins
/
accounts
/
api
/
accounts.js
diff --git
a/skyquake/plugins/accounts/api/accounts.js
b/skyquake/plugins/accounts/api/accounts.js
index
83e841e
..
1b51c7b
100644
(file)
--- a/
skyquake/plugins/accounts/api/accounts.js
+++ b/
skyquake/plugins/accounts/api/accounts.js
@@
-1,5
+1,5
@@
/*
/*
- *
+ *
* Copyright 2016 RIFT.IO Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Copyright 2016 RIFT.IO Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@
-42,9
+42,7
@@
Accounts.get = function(req) {
type: req.params.type
})
});
type: req.params.type
})
});
- }, function(reason) {
- reject(reason);
- })
+ })
} else {
getAll(req, resolve, reject);
}
} else {
getAll(req, resolve, reject);
}
@@
-68,8
+66,6
@@
Accounts.get = function(req) {
statusCode: 200,
data: ReturnData
});
statusCode: 200,
data: ReturnData
});
- }, function(reason) {
- reject(reason);
})
}
}
})
}
}