From a390b02416777b045f03a286bfbb02ac369571e6 Mon Sep 17 00:00:00 2001 From: Darius Kazemi Date: Fri, 24 Jan 2020 16:16:27 -0800 Subject: Converting all tabs to two-spaces --- activitypub.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'activitypub.js') diff --git a/activitypub.js b/activitypub.js index 2a7c18a..765bee1 100644 --- a/activitypub.js +++ b/activitypub.js @@ -124,10 +124,10 @@ function signAndSend(message, eventID, targetDomain, inbox, callback) { if (!isFederated) return; let inboxFragment = inbox.replace('https://'+targetDomain,''); // get the private key - Event.findOne({ - id: eventID - }) - .then((event) => { + Event.findOne({ + id: eventID + }) + .then((event) => { if (event) { const privateKey = event.privateKey; const signer = crypto.createSign('sha256'); -- cgit v1.2.3