diff --git a/bin/core/Sync_importer.py b/bin/core/Sync_importer.py index f0513aaf..0176565d 100755 --- a/bin/core/Sync_importer.py +++ b/bin/core/Sync_importer.py @@ -79,7 +79,7 @@ class Sync_importer(AbstractModule): b64_gzip_content = ail_stream['payload']['raw'] # # TODO: create default id - item_id = ail_stream['meta']['ail:id'] + 'test' + item_id = ail_stream['meta']['ail:id'] message = f'{item_id} {b64_gzip_content}' print(item_id) diff --git a/bin/core/ail_2_ail.py b/bin/core/ail_2_ail.py index 2dd12ea6..d415e9b3 100755 --- a/bin/core/ail_2_ail.py +++ b/bin/core/ail_2_ail.py @@ -1205,7 +1205,7 @@ def create_ail_stream(Object): 'type': Object.get_type()} # OBJECT META - ail_stream['meta'] = {'ail:mime-type': 'text/plain'} + ail_stream['meta'] = {'mime-type': 'text/plain'} ail_stream['meta']['compress'] = 'gzip' ail_stream['meta']['encoding'] = 'base64' ail_stream['meta']['ail:id'] = Object.get_id()