You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 22, 2021. It is now read-only.
Fetching latest app status...
util.js:1084
throw new errors.TypeError(
^
TypeError [ERR_INVALID_ARG_TYPE]: The "last argument" argument must be of type function
at implementation (util.js:1084:13)
at WebClient.apiCall (/root/itunes-connect-slack/node_modules/@slack/client/dist/WebClient.js:384:47)
at Object.postToSlack [as slack] (/root/itunes-connect-slack/post-update.js:21:14)
at /root/itunes-connect-slack/poll-itc.js:22:15
at ChildProcess.exithandler (child_process.js:267:7)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
The text was updated successfully, but these errors were encountered:
hi erik
i found the problem. Slack api was changed. Second parameter of "client.chat.postMessage" function must be "callback" function. I changed it like this
// batur
var params = {
"channel": "dev_team",
"attachments" : [attachment],
"as_user" : "false"
}
hello
i have an error:
Fetching latest app status...
util.js:1084
throw new errors.TypeError(
^
TypeError [ERR_INVALID_ARG_TYPE]: The "last argument" argument must be of type function
at implementation (util.js:1084:13)
at WebClient.apiCall (/root/itunes-connect-slack/node_modules/@slack/client/dist/WebClient.js:384:47)
at Object.postToSlack [as slack] (/root/itunes-connect-slack/post-update.js:21:14)
at /root/itunes-connect-slack/poll-itc.js:22:15
at ChildProcess.exithandler (child_process.js:267:7)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
The text was updated successfully, but these errors were encountered: