@@ -33,7 +33,7 @@ export default class AdminSlackIntegrationLegacyContainer extends Container {
/**
* Retrieve notificationData
*/
- async retrieveNotificationData() {
+ async retrieveData() {
const response = await this.appContainer.apiv3.get('/slack-integration-legacy-settings/');
const { slackIntegrationParams } = response.data;
@@ -23,7 +23,7 @@ function LegacySlackIntegration(props) {
if (adminSlackIntegrationLegacyContainer.state.webhookUrl === adminSlackIntegrationLegacyContainer.dummyWebhookUrl) {
throw (async() => {
try {
- await adminSlackIntegrationLegacyContainer.retrieveNotificationData();
+ await adminSlackIntegrationLegacyContainer.retrieveData();
}
catch (err) {
const errs = toArrayIfNot(err);