mirror of
https://github.com/wassname/talk.git
synced 2026-07-04 07:01:55 +08:00
7 lines
304 B
JavaScript
7 lines
304 B
JavaScript
module.exports = (perspective) => {
|
|
console.log("hello world from perpsctive");
|
|
if(!process.env.PERSPECTIVE_API_KEY) {
|
|
throw new Error('Please set the PERSPECTIVE_API_KEY environment variable to use the toxic-comments plugin. Visit https://www.perspectiveapi.com/ to request API access.');
|
|
}
|
|
}
|