fix: remove remnants of servicebot

None of the code was still in use.
This commit is contained in:
Oliver Eyton-Williams
2020-08-26 15:51:56 +02:00
committed by Mrugesh Mohapatra
parent 5ce8abc131
commit c772382d59
8 changed files with 5 additions and 81 deletions

View File

@@ -16,7 +16,6 @@ const {
NEWS_LOCATION: news,
LOCALE: locale,
STRIPE_PUBLIC_KEY: stripePublicKey,
SERVICEBOT_ID: servicebotId,
ALGOLIA_APP_ID: algoliaAppId,
ALGOLIA_API_KEY: algoliaAPIKey,
PAYPAL_CLIENT_ID: paypalClientId,
@@ -38,10 +37,6 @@ module.exports = Object.assign(locations, {
!stripePublicKey || stripePublicKey === 'pk_from_stripe_dashboard'
? null
: stripePublicKey,
servicebotId:
!servicebotId || servicebotId === 'servicebot_id_from_servicebot_dashboard'
? null
: servicebotId,
algoliaAppId:
!algoliaAppId || algoliaAppId === 'Algolia app id from dashboard'
? null

View File

@@ -31,9 +31,6 @@ const {
STRIPE_PUBLIC_KEY,
STRIPE_SECRET_KEY,
SERVICEBOT_ID,
SERVICEBOT_HMAC_SECRET_KEY,
PAYPAL_CLIENT_ID,
PAYPAL_SECRET,
@@ -109,10 +106,5 @@ module.exports = {
verifyWebhookURL: PAYPAL_VERIFY_WEBHOOK_URL,
tokenUrl: PAYPAL_API_TOKEN_URL,
webhookId: PAYPAL_WEBHOOK_ID
},
servicebot: {
servicebotId: SERVICEBOT_ID,
hmacKey: SERVICEBOT_HMAC_SECRET_KEY
}
};