refactor(api): started implementing all of the tables needed for full data synchronization
BREAKING CHANGE: refer to body
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import fetchOpportunities from "./src/collectors/fetchOpportunities";
|
||||
import fetchOpportunities from "./old-src/collectors/fetchOpportunities";
|
||||
|
||||
fetchOpportunities({
|
||||
include: [
|
||||
@@ -13,7 +13,7 @@ fetchOpportunities({
|
||||
const { writeFileSync } = require("fs");
|
||||
writeFileSync("examples/opportunity-with-relations.json", jsonData);
|
||||
console.log(
|
||||
`Exported ${opportunities.length} opportunities to examples/opportunity-with-relations.json`,
|
||||
`Exported ${opportunities.length} opportunities to examples/opportunity-with-relations.json`
|
||||
);
|
||||
process.exit(0);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user