aboutsummaryrefslogtreecommitdiff
path: root/lib/serve.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/serve.js')
-rw-r--r--lib/serve.js2
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,