Fixed issue where uploaded file not immediatly accessible because upload API responds before the upload has completed.

This commit is contained in:
Zaid Abdulla committed 2014-07-19 06:58:48 +03:00
1 parent 1c902af363
commit 4b244f43e0
1 file changed
+2 -2
+2 -2
View File
@@ -306,9 +306,9 @@ else
throw err if err
gs.close((err) ->
throw err if err
response.writeHead(201)
response.end()
)
response.writeHead(201)
response.end()
)
)
else if request.method == 'DELETE'