diff --git a/app/core/content/utils.py b/app/core/content/utils.py index ca23298..fa0a9df 100644 --- a/app/core/content/utils.py +++ b/app/core/content/utils.py @@ -49,7 +49,8 @@ async def create_metadata_for_item( db_session, title: str = None, cover_url: str = None, - authors: list = None + authors: list = None, + hashtags: list = [], ) -> StoredContent: assert title, "No title provided" # assert cover_url, "No cover_url provided" @@ -58,7 +59,7 @@ async def create_metadata_for_item( item_metadata = { 'name': title, - 'description': '@MY Content Ownership Proof NFT', + 'description': ' '.join([f"#{_h}" for _h in hashtags]), 'attributes': [ # { # 'trait_type': 'Artist',