Skip to content

Instantly share code, notes, and snippets.

@misterdjules
Created September 8, 2017 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save misterdjules/58ee853747c2df630b723b1c31c521d0 to your computer and use it in GitHub Desktop.
Save misterdjules/58ee853747c2df630b723b1c31c521d0 to your computer and use it in GitHub Desktop.
diff --git a/lib/imgapi.js b/lib/imgapi.js
index 8d362a1..6e542f4 100644
--- a/lib/imgapi.js
+++ b/lib/imgapi.js
@@ -1058,7 +1058,7 @@ function adminImportRemoteImageAndWait(uuid, source, options, callback) {
delay: delay
}, 'retry ready');
- self.client.post(reqOpts, function (err, req, res, obj) {
+ self.client.post(reqOpts, {}, function (err, req, res, obj) {
if (err) {
theResponse = res;
return retry.backoff(err);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment