From 8113ef33f1947dbde981887e136bc5c706dc6427 Mon Sep 17 00:00:00 2001 From: Adam Rensel Date: Mon, 10 May 2021 23:22:29 -0400 Subject: [PATCH] logging --- .github/workflows/src/app/fetch-data.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/src/app/fetch-data.js b/.github/workflows/src/app/fetch-data.js index d58ac3d1..b932fa84 100644 --- a/.github/workflows/src/app/fetch-data.js +++ b/.github/workflows/src/app/fetch-data.js @@ -1,12 +1,12 @@ const airtable = require('./airtable.js'); -const actionEvent = require('./action-event.js'); const fs = require('fs') (async ()=>{ - const grad2020 = airtable.fetchAll2020(actionEvent.pullAuthor) - const grad2021 = airtable.fetchAll2021(actionEvent.pullAuthor) + const grad2020 = airtable.fetchAll2020() + const grad2021 = airtable.fetchAll2021() const content = JSON.stringify({grad2020, grad2021}) + console.log(fs.dir.path) fs.writeFile('./data/airtable.json', content, err => { if (err) { console.error(err) -- knotmirror 0.0.1