lib/cloud_crowd/app.rb in documentcloud-cloud-crowd-0.0.6 vs lib/cloud_crowd/app.rb in documentcloud-cloud-crowd-0.1.0
- old
+ new
@@ -73,10 +73,10 @@
end
# Cleans up a Job's saved S3 files. Delete a Job after you're done
# downloading the results.
delete '/jobs/:job_id' do
- current_job.cleanup
+ current_job.destroy
json nil
end
# INTERNAL WORKER DAEMON API:
\ No newline at end of file