fix config
This commit is contained in:
@@ -7,11 +7,8 @@ interface IConfig {
|
||||
row_per_batch: number;
|
||||
startDate: string;
|
||||
endDate: string;
|
||||
mcuID: string;
|
||||
}
|
||||
const j_config = JSON.parse(
|
||||
readFileSync("./config-point-member.json").toString()
|
||||
);
|
||||
const j_config = JSON.parse(readFileSync("./config-gw-wa.json").toString());
|
||||
|
||||
const config: IConfig = {
|
||||
base_url: j_config["base_url"],
|
||||
@@ -20,6 +17,5 @@ const config: IConfig = {
|
||||
row_per_batch: j_config["row_per_batch"],
|
||||
startDate: j_config["startDate"],
|
||||
endDate: j_config["endDate"],
|
||||
mcuID: j_config["mcuID"],
|
||||
};
|
||||
export default config;
|
||||
|
||||
Reference in New Issue
Block a user