File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Environment variables(s):
99
1010#### notifyError(...)
1111 ``` javascript
12- const SlackHooks = require (' notification-hooks' ).Slack
12+ const SlackHooks = require (' @renderforest/ notification-hooks' ).Slack
1313
1414 const options = {
1515 channel: ' #media-upload' ,
@@ -24,7 +24,7 @@ Environment variables(s):
2424
2525#### notifyWarn(...)
2626 ``` javascript
27- const SlackHooks = require (' notification-hooks' ).Slack
27+ const SlackHooks = require (' @renderforest/ notification-hooks' ).Slack
2828
2929 const options = {
3030 channel: ' #backend' ,
@@ -39,7 +39,7 @@ Environment variables(s):
3939
4040#### notifyInfo(...)
4141 ``` javascript
42- const SlackHooks = require (' notification-hooks' ).Slack
42+ const SlackHooks = require (' @renderforest/ notification-hooks' ).Slack
4343
4444 const options = {
4545 channel: ' #front' ,
@@ -49,5 +49,5 @@ Environment variables(s):
4949 username: ' @john'
5050 }
5151
52- SlackHooks .notifyError (options).then ().catch ()
52+ SlackHooks .notifyInfo (options).then ().catch ()
5353 ```
Original file line number Diff line number Diff line change 11{
22 "name" : " @renderforest/notification-hooks" ,
33 "description" : " Notification hooks" ,
4- "version" : " 2.1.0 " ,
4+ "version" : " 2.1.1 " ,
55 "author" : " RenderForest LLC" ,
66 "bugs" : {
77 "url" : " https://github.com/renderforest/notification-hooks/issues"
You can’t perform that action at this time.
0 commit comments