fix: remove remnants of servicebot
None of the code was still in use.
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
5ce8abc131
commit
c772382d59
@ -52,15 +52,12 @@ exports.createPages = function createPages({ graphql, actions, reporter }) {
|
||||
}
|
||||
}
|
||||
|
||||
if (!env.stripePublicKey || !env.servicebotId) {
|
||||
if (!env.stripePublicKey) {
|
||||
if (process.env.FREECODECAMP_NODE_ENV === 'production') {
|
||||
throw new Error(
|
||||
'Stripe public key and Servicebot id are required to start the client!'
|
||||
);
|
||||
throw new Error('Stripe public key is required to start the client!');
|
||||
} else {
|
||||
reporter.info(
|
||||
'Stripe public key or Servicebot id missing or invalid. Required for' +
|
||||
' donations.'
|
||||
'Stripe public key missing or invalid. Required for donations.'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user