Fixed issue where uploaded file not immediatly accessible because upload API responds before the upload has completed.
This commit is contained in:
1 parent
1c902af363
commit
4b244f43e0
1 file changed
+2
-2
+2
-2
@@ -306,9 +306,9 @@ else
|
|||||||
throw err if err
|
throw err if err
|
||||||
gs.close((err) ->
|
gs.close((err) ->
|
||||||
throw err if err
|
throw err if err
|
||||||
|
response.writeHead(201)
|
||||||
|
response.end()
|
||||||
)
|
)
|
||||||
response.writeHead(201)
|
|
||||||
response.end()
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
else if request.method == 'DELETE'
|
else if request.method == 'DELETE'
|
||||||
|
|||||||
Reference in new issue
Block a user