fix: set custom filter count in redis (#7164)

This commit is contained in:
Tejaswini Chile
2023-06-19 16:10:03 +05:30
committed by GitHub
parent 2c3337b117
commit 9d0de04f7c
9 changed files with 127 additions and 24 deletions

View File

@@ -1,4 +1,5 @@
class Api::V1::Accounts::CustomFiltersController < Api::V1::Accounts::BaseController
before_action :check_authorization
before_action :fetch_custom_filters, except: [:create]
before_action :fetch_custom_filter, only: [:show, :update, :destroy]
DEFAULT_FILTER_TYPE = 'conversation'.freeze