aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2019-02-03 14:50:25 -1000
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2019-02-03 14:50:25 -1000
commit72e77600465d68edfe3b23abc3509ed1a76a11e4 (patch)
tree17d944bf9b7a0ade2730737415afa250704dd377 /lib
parent90b88917e24590438f1d342854e3a0da28efcd09 (diff)
downloadpatchfoo-72e77600465d68edfe3b23abc3509ed1a76a11e4.tar.gz
patchfoo-72e77600465d68edfe3b23abc3509ed1a76a11e4.zip
Fix saving draft with upload
Diffstat (limited to 'lib')
-rw-r--r--lib/serve.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/serve.js b/lib/serve.js
index d7bf58d..d92117e 100644
--- a/lib/serve.js
+++ b/lib/serve.js
@@ -3532,6 +3532,7 @@ Serve.prototype.composer = function (opts, cb) {
data.text = (data.text ? data.text + '\n' : '')
+ (isMedia ? '!' : '')
+ '[' + blobPrefix + data.upload.name + '](' + href + ')'
+ data.upload = null
}
// get bare feed names