summaryrefslogtreecommitdiffstats
path: root/sandstorm.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2017-12-03 04:00:55 +0200
committerLauri Ojansivu <x@xet7.org>2017-12-03 04:00:55 +0200
commit7c403053e364ffe21d64edd961a55d0402582c07 (patch)
tree77f06a7afdb099c162a29c1bf9909b0761d85ea7 /sandstorm.js
parentc52233cacf798e1eb0ad8dbbfe20354443b562e3 (diff)
downloadwekan-7c403053e364ffe21d64edd961a55d0402582c07.tar.gz
wekan-7c403053e364ffe21d64edd961a55d0402582c07.tar.bz2
wekan-7c403053e364ffe21d64edd961a55d0402582c07.zip
Fix lint errors.
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 6b7c8172..80269bb9 100644
--- a/sandstorm.js
+++ b/sandstorm.js
@@ -73,7 +73,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;
@@ -113,9 +113,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
@@ -130,7 +130,7 @@ if (isSandstorm && Meteor.isServer) {
return session.activity(event);
}).then(() => done(),
- (e) => done(e));
+ (e) => done(e));
})();
}