()
| 269 | * Get the configured error notification Slack channel |
| 270 | */ |
| 271 | export async function getErrorChannel(): Promise<ErrorChannelSetting> { |
| 272 | const result = await getSetting<ErrorChannelSetting>(SETTING_KEYS.ERROR_SLACK_CHANNEL); |
| 273 | return result ?? { channel_id: null, channel_name: null }; |
| 274 | } |
| 275 | |
| 276 | /** |
| 277 | * Set the error notification Slack channel |
no outgoing calls
no test coverage detected