mirror of
https://github.com/System-End/slack-end.git
synced 2026-04-19 23:22:56 +00:00
enhancement(lint): Fix lint errors for src/modules/slackapp.ts
Co-authored-by: NeonGamerBot-QK <saahilattud@gmail.com> Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
This commit is contained in:
parent
e610e6806f
commit
f8342500c5
1 changed files with 7 additions and 7 deletions
|
|
@ -97,14 +97,14 @@ export const app = new App({
|
|||
.then(async () => {
|
||||
// try to invite user
|
||||
try {
|
||||
await app.client.conversations.invite({
|
||||
channel: "C07RE4N7S4B",
|
||||
//@ts-ignore
|
||||
users: req.body.user
|
||||
});
|
||||
await app.client.conversations.invite({
|
||||
channel: "C07RE4N7S4B",
|
||||
//@ts-ignore
|
||||
users: req.body.user,
|
||||
});
|
||||
} catch (e) {
|
||||
console.error(`Failed to invite user.`)
|
||||
}
|
||||
console.error(`Failed to invite user.`);
|
||||
}
|
||||
//@ts-ignore
|
||||
if (!req.body.noping) {
|
||||
app.client.chat.postMessage({
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue