forked from Hay1tsme/artemis
chuni: add missing alembic script
This commit is contained in:
@ -737,7 +737,7 @@ class ChuniBase:
|
||||
team_name = team["teamName"]
|
||||
team_rank = await self.data.profile.get_team_rank(team["id"])
|
||||
team_point = team["teamPoint"]
|
||||
if team["userTeamPoint"] is not None and team["userTeamPoint"] is not "":
|
||||
if team["userTeamPoint"] is not None and team["userTeamPoint"] != "":
|
||||
user_team_point_data = json.loads(team["userTeamPoint"])
|
||||
for user_point_data in user_team_point_data:
|
||||
if user_point_data["user"] == data["userId"]:
|
||||
|
Reference in New Issue
Block a user