Преглед изворни кода

Update user_manager: remove test code

StrayWarrior пре 1 недеља
родитељ
комит
8b5a8e997e
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      user_manager.py

+ 1 - 1
user_manager.py

@@ -276,7 +276,7 @@ class MySQLUserRelationManager(UserRelationManager):
                 continue
             user_ids = tuple(user['user_id'] for user in user_data)
             # FIXME(zhoutian): 测试期间临时逻辑
-            if agent_staff['third_party_user_id'] == '1688854492669990':
+            if True:
                 sql = f"SELECT union_id FROM {self.user_table} WHERE id IN {str(user_ids)} AND union_id is not null"
             else:
                 sql = f"SELECT union_id FROM {self.user_table} WHERE id IN {str(user_ids)} AND union_id is not null" \