mirror of
https://github.com/outline/outline.git
synced 2026-12-01 01:14:11 +03:00
fix: Remap event name for Slack integration
This commit is contained in:
1 parent
b14867c67e
commit
0bee0bbade
1 file changed
+3
-1
@@ -82,7 +82,9 @@ export default class SlackProcessor {
|
||||
service: "slack",
|
||||
type: "post",
|
||||
events: {
|
||||
[Op.contains]: [event.name],
|
||||
[Op.contains]: [
|
||||
event.name === "revisions.create" ? "documents.update" : event.name,
|
||||
],
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user