aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/web.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/web.js b/lib/web.js
index c777360..38e0cd9 100644
--- a/lib/web.js
+++ b/lib/web.js
@@ -71,7 +71,8 @@ function handleConvert(request, response, next) {
})
.fin(function() {
return q.nfcall(fs.unlink, documentPath);
- });
+ })
+ .done();
}
function renderTemplate(request, response, next) {