import { BaseHandler, METHODS } from '@r/platform/router';
import * as subredditActions from 'app/actions/subreddits';

export default class ToggleSubredditSubscription extends BaseHandler {
  async [METHODS.POST](dispatch) {
    dispatch(subredditActions.toggleSubscription(this.bodyParams));
  }
}

import { BaseHandler, METHODS } from '@r/platform/router';
import * as subscriptionActions from 'app/actions/subscribedSubreddits';

export default class ToggleSubredditSubscription extends BaseHandler {
  async [METHODS.POST](dispatch) {
    dispatch(subscriptionActions.toggleSubscription(this.bodyParams));
  }
}

Fix subscription handler from refactor
Fix subscription handler from refactor
