mirror of
https://github.com/System-End/slack-end.git
synced 2026-04-19 22:05:10 +00:00
fix: (testing) log?
This commit is contained in:
parent
8bc50a2edb
commit
bbea4e530e
2 changed files with 5 additions and 3 deletions
|
|
@ -195,6 +195,8 @@ export default class AnonDM implements Command {
|
|||
await ack();
|
||||
console.debug(`#action`, par);
|
||||
console.log(action);
|
||||
//@ts-ignore
|
||||
const mail_hash_id = action.value as string;
|
||||
const user = par.body.user;
|
||||
// display user model
|
||||
// await app.client.chat.postMessage({
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ export default class AppHome implements Command {
|
|||
return false;
|
||||
}
|
||||
})
|
||||
.map((e) => {
|
||||
.map((e,i) => {
|
||||
// map to a slack element block
|
||||
return {
|
||||
type: "section",
|
||||
|
|
@ -115,8 +115,8 @@ export default class AppHome implements Command {
|
|||
text: "Open",
|
||||
emoji: true,
|
||||
},
|
||||
value: "open_mail_v",
|
||||
action_id: "open_mail_actionid",
|
||||
value: i.toString(),
|
||||
action_id: "open_mail_"+event.user,
|
||||
},
|
||||
};
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue