array type

This commit is contained in:
Miodec 2023-04-03 13:22:25 +02:00
parent 9615bd5ca7
commit 13fff606d0

View file

@ -122,7 +122,7 @@ export async function updateTags(
interface AddResultData {
isPb: boolean;
tagPbs: any[];
tagPbs: string[];
insertedId: ObjectId;
dailyLeaderboardRank?: number;
weeklyXpLeaderboardRank?: number;
@ -345,7 +345,7 @@ export async function addResult(
}
let isPb = false;
let tagPbs: any[] = [];
let tagPbs: string[] = [];
if (!result.bailedOut) {
[isPb, tagPbs] = await Promise.all([