From 3a91f7c06d19a8755fb88881d4b628b877ab40e7 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 8 Mar 2021 11:25:23 +0100 Subject: [PATCH] Fix team avatar --- www/common/outer/team.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/common/outer/team.js b/www/common/outer/team.js index f959ee11b..2634e483f 100644 --- a/www/common/outer/team.js +++ b/www/common/outer/team.js @@ -1046,6 +1046,7 @@ define([ if (!team) { return void cb ({error: 'ENOENT'}); } if (team.offline) { return void cb({error: 'OFFLINE'}); } if (!team.roster) { return void cb({error: 'NO_ROSTER'}); } + delete data.metadata.offline; team.roster.metadata(data.metadata, function (err) { if (err) { return void cb({error: err}); } var localTeam = ctx.store.proxy.teams[teamId];