|
@@ -84,12 +84,10 @@ export default class AdminNotificationContainer extends Container {
|
|
|
* @memberOf SlackAppConfiguration
|
|
* @memberOf SlackAppConfiguration
|
|
|
*/
|
|
*/
|
|
|
async addNotificationPattern(pathPattern, channel) {
|
|
async addNotificationPattern(pathPattern, channel) {
|
|
|
- const response = await this.appContainer.apiv3.post('/notification-setting/user-notification', {
|
|
|
|
|
|
|
+ return this.appContainer.apiv3.post('/notification-setting/user-notification', {
|
|
|
pathPattern,
|
|
pathPattern,
|
|
|
channel,
|
|
channel,
|
|
|
});
|
|
});
|
|
|
-
|
|
|
|
|
- return response;
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|