Fix: Integration content types last_structure_fetch path + add test script for manual structure push

This commit is contained in:
alorig
2025-11-22 09:19:44 +05:00
parent bcee76fab7
commit 5971750295
2 changed files with 163 additions and 1 deletions

View File

@@ -313,7 +313,7 @@ class IntegrationViewSet(SiteSectorModelViewSet):
summary = {
'post_types': post_types_data,
'taxonomies': taxonomies_data,
'last_structure_fetch': config.get('last_structure_fetch'),
'last_structure_fetch': content_types.get('last_structure_fetch'),
'plugin_connection_enabled': config.get('plugin_connection_enabled', True),
'two_way_sync_enabled': config.get('two_way_sync_enabled', True),
}