summaryrefslogtreecommitdiffstats
path: root/sandstorm.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-05-18 15:20:20 +0300
committerLauri Ojansivu <x@xet7.org>2018-05-18 15:20:20 +0300
commit9b465bc98bd0e0125fa1d99369f1ed7ee47d9e63 (patch)
tree8527b80be1dba22126ce03381c9cc9c5a33958ad /sandstorm.js
parentef99e6a6b1cd8d55fdab9ff94e7bfc3d5c538b8f (diff)
downloadwekan-9b465bc98bd0e0125fa1d99369f1ed7ee47d9e63.tar.gz
wekan-9b465bc98bd0e0125fa1d99369f1ed7ee47d9e63.tar.bz2
wekan-9b465bc98bd0e0125fa1d99369f1ed7ee47d9e63.zip
Fix lint errors back to eslint requirements.
Diffstat (limited to 'sandstorm.js')
-rw-r--r--sandstorm.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/sandstorm.js b/sandstorm.js
index 3ea85fef..d34bc015 100644
--- a/sandstorm.js
+++ b/sandstorm.js
@@ -75,7 +75,7 @@ if (isSandstorm && Meteor.isServer) {
session.claimRequest(token).then((response) => {
const identity = response.cap.castAs(Identity.Identity);
const promises = [api.getIdentityId(identity), identity.getProfile(),
- httpBridge.saveIdentity(identity)];
+ httpBridge.saveIdentity(identity)];
return Promise.all(promises).then((responses) => {
const identityId = responses[0].id.toString('hex').slice(0, 32);
const profile = responses[1].profile;
@@ -115,9 +115,9 @@ if (isSandstorm && Meteor.isServer) {
const identity = response.identity;
return identity.getProfile().then(() => {
return { identity,
- mentioned: !!user.mentioned,
- subscribed: !!user.subscribed,
- };
+ mentioned: !!user.mentioned,
+ subscribed: !!user.subscribed,
+ };
});
}).catch(() => {
// Ignore identities that fail to restore. Either they were added before we set
@@ -132,7 +132,7 @@ if (isSandstorm && Meteor.isServer) {
return session.activity(event);
}).then(() => done(),
- (e) => done(e));
+ (e) => done(e));
})();
}