Skip to content

Commit 2c29dd8

Browse files
committed
bug fixes
1 parent aa0c15a commit 2c29dd8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

public_api/bhavcopy.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ class BhavCopy {
66
* @param string dir Specify the directory for downloading files
77
*/
88
constructor(options = {}) {
9+
super()
10+
console.log(1, options);
11+
912
this.request = require("request");
1013
this.fs = require("fs");
1114
const {
@@ -19,7 +22,7 @@ class BhavCopy {
1922
type !== "undefined" &&
2023
this.__validateFileType().indexOf(type) !== -1 ?
2124
type :
22-
"csv";
25+
"json";
2326
this.isMultiplesFile = false;
2427
}
2528

0 commit comments

Comments
 (0)