From c28a32f727e0698e14bfbd4aec843e9938fd1b24 Mon Sep 17 00:00:00 2001 From: Justin Gasper Date: Mon, 30 Sep 2024 21:53:19 +0000 Subject: [PATCH] Remove hard-coded creds --- config/backup-default.js | 2 +- config/default.js | 2 +- docs/postman/Community APP.postman_environment.json | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/backup-default.js b/config/backup-default.js index 6c7c3507ef..2ea3ca1ee5 100644 --- a/config/backup-default.js +++ b/config/backup-default.js @@ -266,7 +266,7 @@ module.exports = { CHAMELEON_VERIFICATION_SECRET: 'mysecret', }, - GSHEETS_API_KEY: 'AIzaSyBRdKySN5JNCb2H6ZxJdTTvp3cWU51jiOQ', + GSHEETS_API_KEY: '', GOOGLE_SERVICE_ACCOUNT_EMAIL: 'communityappserviceacc@tc-sheets-to-contentful.iam.gserviceaccount.com', GOOGLE_SERVICE_ACCOUNT_PRIVATE_KEY: '', GIG_REFERRALS_SHEET: '1xilx7NxDAvzAzOTbPpvb3lL3RWv1VD5W24OEMAoF9HU', diff --git a/config/default.js b/config/default.js index 2b6fc14ee3..e30ec05227 100644 --- a/config/default.js +++ b/config/default.js @@ -267,7 +267,7 @@ module.exports = { CHAMELEON_VERIFICATION_SECRET: 'mysecret', }, - GSHEETS_API_KEY: 'AIzaSyBRdKySN5JNCb2H6ZxJdTTvp3cWU51jiOQ', + GSHEETS_API_KEY: '', GOOGLE_SERVICE_ACCOUNT_EMAIL: 'communityappserviceacc@tc-sheets-to-contentful.iam.gserviceaccount.com', GOOGLE_SERVICE_ACCOUNT_PRIVATE_KEY: '', GIG_REFERRALS_SHEET: '1xilx7NxDAvzAzOTbPpvb3lL3RWv1VD5W24OEMAoF9HU', diff --git a/docs/postman/Community APP.postman_environment.json b/docs/postman/Community APP.postman_environment.json index 5e5fc77710..aac58a2c8a 100644 --- a/docs/postman/Community APP.postman_environment.json +++ b/docs/postman/Community APP.postman_environment.json @@ -9,17 +9,17 @@ }, { "key": "token", - "value": "eyJh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TkdadkgiLCJpYXQiOjE2MjQxMjUzMzYsImV4cCI6MTYyNDEyODMzNiwibm9uY2UiOiJjVE5DTFVwRlpXMVJhMm94WkhSdE5WaGpVbk5IVkZGVFdWTjRiRzFCYVVaQ1dHZGpSVWhZVTB0RVZnPT0ifQ.SfKTYecx7A2qbqM3v8lJaC1GSdctNhkTx6laAhe2BJYVX5LdVL82ZM3_9yWqqZDPWHS9ku408Jt1DUMo5vRev34Av0iwJpYIT_4BbmMLeWQGQ3aRB78zp_emkZ5TE1vOnfSJvfsPoQoiLIwohyOUaDzz9MGdjrgYuSEAA1RGdjhVcamFlNNbR-lNMffnWYs0oWi89N5kgvv37JZjpDPAvQbotNT80Vs0JrLr1p71JLFcLFTQJ-bthFmt0922dj47-1MSjUQgOzFMN4JNjZKGtExyLGR7s_ipCQxg9lxHjMD-JNwg0liI20YGfTXZv9QQQ_K2jPkXiatHBQq_v2_Qjg", + "value": "", "enabled": true }, { "key": "invalid_token_1", - "value": "eyJ", + "value": "", "enabled": true }, { "key": "invalid_token_2", - "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlcyI6WyJjb3BpbG90IiwiQ29ubmVjdCBTdXBwb3J0Il0sImlzcyI6Imh0dHBzOi8vYXBpLnRvcGNvZGVyLWRldi5jb20iLCJoYW5kbGUiOiJHaG9zdGFyIiwiZXhwIjoxNTQ5ODAwMDc3LCJ1c2VySWQiOiIxNTE3NDMiLCJpYXQiOjE1NDk3OTk0NzcsImVtYWlsIjoiZW1haWxAZG9tYWluLmNvbS56IiwianRpIjoiMTJjMWMxMGItOTNlZi00NTMxLTgzMDUtYmE2NjVmYzRlMWI0In0.2n8k9pb16sE7LOLF_7mjAvEVKgggzS-wS3_8n2-R4RU", + "value": "", "enabled": true }, { @@ -29,7 +29,7 @@ }, { "key": "invalid_token_4", - "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlcyI6WyJjb3BpbG90IiwiQ29ubmVjdCBTdXBwb3J0Il0sImlzcyI6Imh0dHBzOi8vYXBpLnRvcGNvZGVyLWRldi5jb20iLCJoYW5kbGUiOiJHaG9zdGFyIiwiZXhwIjoxNTQ5ODAwMDc3LCJ1c2VySWQiOiIxNTE3NDMiLCJpYXQiOjE1NDk3OTk0NzcsImVtYWlsIjoiZW1haWxAZG9tYWluLmNvbS56IiwianRpIjoiMTJjMWMxMGItOTNlZi00NTMxLTgzMDUtYmE2NjVmYzRlMWI0In0.2n8k9pb16sE7LOLF_7mjAvEVKgggzS-wS3_8n2-R4RU", + "value": "", "enabled": true } ],