diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-05-31 16:03:41 -1000 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-05-31 16:04:48 -1000 |
commit | 95a25a44b6a1b9f4124030a0c4ec658f63f3e307 (patch) | |
tree | bc5318e83fa9ba47a7de7d0c644cbc34154b946e /lib | |
parent | 59b921ee52497f2d94c9693a8f4a31eeb5bdbc46 (diff) | |
download | patchfoo-95a25a44b6a1b9f4124030a0c4ec658f63f3e307.tar.gz patchfoo-95a25a44b6a1b9f4124030a0c4ec658f63f3e307.zip |
Fix variable scope
Diffstat (limited to 'lib')
-rw-r--r-- | lib/serve.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/serve.js b/lib/serve.js index 9d6f0b8..98a34e0 100644 --- a/lib/serve.js +++ b/lib/serve.js @@ -1922,6 +1922,7 @@ Serve.prototype.composer = function (opts, cb) { var self = this opts = opts || {} var data = self.data + var myId = self.app.sbot.id var blobs = u.tryDecodeJSON(data.blobs) || {} if (data.upload && typeof data.upload === 'object') { @@ -2151,7 +2152,6 @@ Serve.prototype.composer = function (opts, cb) { function gotContent(err, content) { if (err) return cb(err) contentInput.value = JSON.stringify(content) - var myId = self.app.sbot.id var msg = { value: { author: myId, |