diff --git a/src/resolver/sns.py b/src/resolver/sns.py index 8d8167d..1ac2a3a 100644 --- a/src/resolver/sns.py +++ b/src/resolver/sns.py @@ -4,7 +4,7 @@ Author: Zella Zhong Date: 2024-11-07 19:55:46 LastEditors: Zella Zhong -LastEditTime: 2024-11-10 23:09:28 +LastEditTime: 2024-11-10 23:14:40 FilePath: /data_service/src/resolver/sns.py Description: ''' @@ -398,6 +398,8 @@ async def batch_query_sns_profile_by_id_from_db(query_ids) -> typing.List[Ident if texts_v2: process_texts = {key: unquote(text, 'utf-8') for key, text in texts_v2.items() if text != ""} avatar = process_texts.get("pic", None) + if avatar is not None: + del process_texts["pic"] texts = process_texts if not texts: diff --git a/src/resolver/solana.py b/src/resolver/solana.py index 7d44805..d756ac4 100644 --- a/src/resolver/solana.py +++ b/src/resolver/solana.py @@ -4,7 +4,7 @@ Author: Zella Zhong Date: 2024-10-07 23:11:29 LastEditors: Zella Zhong -LastEditTime: 2024-11-10 23:09:34 +LastEditTime: 2024-11-10 23:15:11 FilePath: /data_service/src/resolver/solana.py Description: ''' @@ -318,6 +318,8 @@ async def batch_query_profile_by_address_db(query_ids) -> typing.List[IdentityRe if texts_v2: process_texts = {key: unquote(text, 'utf-8') for key, text in texts_v2.items() if text != ""} avatar = process_texts.get("pic", None) + if avatar is not None: + del process_texts["pic"] texts = process_texts if not texts: