chore: Update data format for platform API feature management (#5718)

Updated JSON data format for Platform API for account creation update API endpoints features flags to accept false values on each feature. 

fixes: #5717
This commit is contained in:
smartdev58
2022-11-08 03:49:45 +02:00
committed by GitHub
parent 48373628a1
commit b50890d1b5
3 changed files with 39 additions and 27 deletions

View File

@@ -16,7 +16,7 @@ module Featurable
include FlagShihTzu
has_flags FEATURES.merge(column: 'feature_flags').merge(QUERY_MODE)
before_create :enable_default_features
after_initialize :enable_default_features
end
def enable_features(*names)