diff options
author | Raphael <raphaelkabo@gmail.com> | 2020-02-06 11:11:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-06 11:11:45 +0000 |
commit | a594946b13c15fda6d49f0651ffdf2332a3793cd (patch) | |
tree | 8e690cf7a80635685b258eb6a4b2a1ca3f79ab36 /activitypub.js | |
parent | 111406040ec9f7f48b28077c8eea95a792b14cc7 (diff) | |
parent | a390b02416777b045f03a286bfbb02ac369571e6 (diff) |
Merge pull request #37 from dariusk/whitespace
Normalize whitespace
Diffstat (limited to 'activitypub.js')
-rw-r--r-- | activitypub.js | 8 |
1 files changed, 4 insertions, 4 deletions
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'); |