diff options
Diffstat (limited to 'bin/cdr.http_and_import')
-rwxr-xr-x | bin/cdr.http_and_import | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/cdr.http_and_import b/bin/cdr.http_and_import index 5637fa526..8910eece6 100755 --- a/bin/cdr.http_and_import +++ b/bin/cdr.http_and_import @@ -85,10 +85,10 @@ foreach my $file ( @files ) { warn "Processing $filename\n" if $opt_v; my $error = FS::cdr::batch_import( { - 'file' => "$cachedir/$filename", - 'format' => $format, - 'params' => { 'cdrbatch' => $filename }, - 'empty_ok' => 1, + 'file' => "$cachedir/$filename", + 'format' => $format, + 'batch_namevalue' => $filename, + 'empty_ok' => 1, } ); die $error if $error; |