downloadable, selectWallet

This commit is contained in:
user committed 2025-03-14 13:57:30 +03:00
1 parent 66da3541e7
commit ac6d102a3f
6 files changed
+15 -4

No files matched your search

+1 -1
View File
@@ -94,7 +94,7 @@ async def license_index_loop(memory, platform_found: bool, seqno: int) -> [bool,
session.commit()
except BaseException as e:
make_log("LicenseIndex", f"Error: {e}" + '\n' + traceback.format_exc(), level="error")
# Проверка NFT на актуальность данных, в том числе уже проверенные
process_content = session.query(UserContent).filter(
and_(
+2
View File
@@ -51,6 +51,7 @@ async def create_metadata_for_item(
cover_url: str = None,
authors: list = None,
hashtags: list = [],
downloadable: bool = False,
) -> StoredContent:
assert title, "No title provided"
# assert cover_url, "No cover_url provided"
@@ -66,6 +67,7 @@ async def create_metadata_for_item(
# 'value': 'Unknown'
# },
],
'downloadable': downloadable,
}
if cover_url:
item_metadata['image'] = cover_url