summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2013-01-31 21:13:04 -0800
committerMark Wells <mark@freeside.biz>2013-01-31 21:13:15 -0800
commit71dc102ff119464c78b78fd5a2fa3556fce6987e (patch)
treebf3790a9e7b9b120cd56c17a24b600b48bc62b9f
parent7b3904176b9d0dada9d8d8daebf21a8abab4c72d (diff)
close batches after download
-rw-r--r--CardFortress.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/CardFortress.pm b/CardFortress.pm
index 33b7ee1..b16b601 100644
--- a/CardFortress.pm
+++ b/CardFortress.pm
@@ -231,10 +231,7 @@ sub download {
die "Error receiving batch: ".$_->{error}."\n";
}
}
-# $self->https_post('/batch/close', {
-# login => $self->login,
-# password => $self->password,
-# batch_id => \@batches_in_transit,
+ $self->https_post('/batch/close', \@batches_in_transit);
@$result;
}