We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
options.disabled
true
1 parent dce6d96 commit 06283aaCopy full SHA for 06283aa
index.js
@@ -3,7 +3,7 @@ process.env.NODE_ENV = process.env.NODE_ENV || 'development';
3
const request = require('request-promise-native');
4
5
function sendRequest(namespace, text, level='INFO', options={}) {
6
- if (options.disabled == true) {
+ if (options.disabled === true) {
7
if (options.debug) console.log('PushNotice: disabled not sending the notification');
8
return;
9
}
0 commit comments