🐞 fix(gvg): 联军设置icon信息错误

This commit is contained in:
luying
2023-05-17 16:42:39 +08:00
parent 7c48d15417
commit a038b40de8

View File

@@ -622,7 +622,7 @@ export class GVGManageHandler {
addLeagueRenameRecord(myLeague.leagueCode, name);
}
if(icon != undefined) {
await updateUserInfo(REDIS_KEY.LEAGUE_INFO, myLeague.leagueCode, [{ field: 'icon', value: name }]);
await updateUserInfo(REDIS_KEY.LEAGUE_INFO, myLeague.leagueCode, [{ field: 'icon', value: icon }]);
}
if(notice != undefined) {
await changeNoticeMessage(roleId, roleName, myLeague, notice);