Skip to content

Commit 641bca3

Browse files
committed
Fixed #27.
1 parent e2a0f97 commit 641bca3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/collection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ extend(BaseCollection.prototype, {
186186
method: 'POST',
187187
path: 'import',
188188
body: data,
189-
ld: Boolean(opts.type !== 'array'),
189+
ld: Boolean(!opts || opts.type !== 'array'),
190190
qs: extend({
191191
type: 'auto'
192192
}, opts, {

0 commit comments

Comments
 (0)