Displayed proper token on integration creation confirmation (#3991)
Этот коммит содержится в:
коммит произвёл
enahum
родитель
47f92441ac
Коммит
faf944f47a
@@ -73,6 +73,10 @@ class IntegrationStore extends EventEmitter {
|
||||
return this.outgoingWebhooks.get(teamId) || [];
|
||||
}
|
||||
|
||||
getOutgoingWebhook(teamId, id) {
|
||||
return this.getOutgoingWebhooks(teamId).filter((outgoingWebhook) => outgoingWebhook.id === id)[0];
|
||||
}
|
||||
|
||||
setOutgoingWebhooks(teamId, outgoingWebhooks) {
|
||||
this.outgoingWebhooks.set(teamId, outgoingWebhooks);
|
||||
}
|
||||
@@ -116,6 +120,10 @@ class IntegrationStore extends EventEmitter {
|
||||
return this.commands.get(teamId) || [];
|
||||
}
|
||||
|
||||
getCommand(teamId, id) {
|
||||
return this.getCommands(teamId).filter((command) => command.id === id)[0];
|
||||
}
|
||||
|
||||
setCommands(teamId, commands) {
|
||||
this.commands.set(teamId, commands);
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user