mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-08 05:03:39 +08:00
array type
This commit is contained in:
parent
9615bd5ca7
commit
13fff606d0
1 changed files with 2 additions and 2 deletions
|
|
@ -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([
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue