Skip to content

Commit

Permalink
Add log statement for privacy card creation
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwofford committed Jan 5, 2020
1 parent 21f8e9b commit c33a651
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bases/operations.js
Expand Up @@ -11,6 +11,7 @@ const privacy = new Privacy
async function processClubs() {
util.forEachInTable(base, 'Clubs', async club => {
if (club.get('Should have Privacy Card' && !club.get('Privacy Card'))) {
console.log('Creating card for club', club.id)
const card = await privacy.createCard()
const cardRecord = await base('Privacy Cards').create({
'Privacy Token': card.token,
Expand Down

0 comments on commit c33a651

Please sign in to comment.