From 28596a0b4d1f54a6d5dc6d04659a6a1544f6cf49 Mon Sep 17 00:00:00 2001 From: william Date: Fri, 27 May 2016 00:53:19 -0400 Subject: [PATCH] stuff --- routes/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/api.js b/routes/api.js index 0a0cbdf..8b5ff3d 100644 --- a/routes/api.js +++ b/routes/api.js @@ -35,9 +35,9 @@ var workerCreate = function(){ image: '17375637' }, function(data){ data = JSON.parse(data); + dopletNewID = data.droplet.id; doapi.dropletSetTag('clworker', data.droplet.id, function(data){ console.log('Set tag data:', data) - dopletNewID = data.droplet.id; setTimeout(function(){checkDroplet(dropletNewId)}, 10000); }); });