chore: ignore crossPlaySetting in updateChallengeProgress

This commit is contained in:
Sainan 2025-06-20 05:04:24 +02:00
parent 3186ffe164
commit ce46fa14ac

View File

@ -44,6 +44,7 @@ export const updateChallengeProgressController: RequestHandler = async (req, res
case "ChallengeProgress": case "ChallengeProgress":
case "SeasonChallengeCompletions": case "SeasonChallengeCompletions":
case "ChallengePTS": case "ChallengePTS":
case "crossPlaySetting":
break; break;
default: default:
logger.warn(`unknown challenge progress entry`, { key, value }); logger.warn(`unknown challenge progress entry`, { key, value });
@ -62,4 +63,5 @@ interface IUpdateChallengeProgressRequest {
ChallengeProgress?: IChallengeProgress[]; ChallengeProgress?: IChallengeProgress[];
SeasonChallengeHistory?: ISeasonChallenge[]; SeasonChallengeHistory?: ISeasonChallenge[];
SeasonChallengeCompletions?: ISeasonChallenge[]; SeasonChallengeCompletions?: ISeasonChallenge[];
crossPlaySetting?: string;
} }