Skip to content

Commit b78483f

Browse files
committed
add close to api
1 parent 43e00cc commit b78483f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/api.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ function createApi(createQueue, options = {}) {
2828
url: req.body.url,
2929
meta: req.body.meta || {}
3030
}).then(function (response) {
31+
queue.close()
32+
3133
if (error.isError(response)) {
3234
res.status(422).json(response)
3335
return

0 commit comments

Comments
 (0)