{{ group }}+ NOTE: invite {{ + groupPermissions?.service_account_email }} to the sheet, see further instructions below. +
bellingcat-auto-archiver-api@bellingcat-auto-archiver-b85db.iam.gserviceaccount.com
- into your spreadsheet
- Link where you will put the URLs.Link where you will put the URLsArchive Status to monitor progress and success
of archiver
diff --git a/src/store/index.js b/src/store/index.js
index f59fe22..a0847f6 100644
--- a/src/store/index.js
+++ b/src/store/index.js
@@ -225,7 +225,7 @@ export default createStore({
}
},
- async createSheet({ state, dispatch, commit }, name) {
+ async createSheet({ state, dispatch, commit }, {name, service_account_email}) {
return new Promise(async (resolve, reject) => {
try {
// create new sheet
@@ -355,7 +355,7 @@ export default createStore({
role: "writer",
type: "user",
emailAddress:
- "bellingcat-auto-archiver-api@bellingcat-auto-archiver-b85db.iam.gserviceaccount.com",
+ service_account_email,
},
});