Skip to content

Commit 21f69c4

Browse files
committed
Hotfix for howdyai#590
1 parent 68f18dd commit 21f69c4

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

lib/SlackBot.js

+5-6
Original file line numberDiff line numberDiff line change
@@ -306,14 +306,13 @@ function Slackbot(configuration) {
306306
return res.status(404).send();
307307
}
308308

309+
bot.identity = {
310+
id: team.bot.user_id,
311+
name: team.bot.name
312+
};
313+
309314
}
310315

311-
bot.identity = {
312-
id: team.bot.user_id,
313-
name: team.bot.name
314-
};
315-
316-
317316
}
318317

319318
/*

0 commit comments

Comments
 (0)