File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
invenio_communities/communities/services Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ class CommunityServiceConfig(RecordServiceConfig, ConfiguratorMixin):
9797 "COMMUNITIES_PERMISSION_POLICY" , default = CommunityPermissionPolicy
9898 )
9999 # Record specific configuration
100- record_cls = Community
100+ record_cls = FromConfig ( "COMMUNITIES_COMMUNITY_CLS" , default = Community )
101101 result_item_cls = CommunityItem
102102 result_list_cls = CommunityListResult
103103 indexer_queue_name = "communities"
@@ -111,7 +111,7 @@ class CommunityServiceConfig(RecordServiceConfig, ConfiguratorMixin):
111111 )
112112
113113 # Service schema
114- schema = CommunitySchema
114+ schema = FromConfig ( "COMMUNITIES_COMMUNITY_SCHEMA" , default = CommunitySchema )
115115 schema_featured = CommunityFeaturedSchema
116116 schema_tombstone = TombstoneSchema
117117
You can’t perform that action at this time.
0 commit comments