mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-29 02:18:09 +03:00
fix: make GetChallengerIDs return challengers instead of rivals
This commit is contained in:
@@ -134,12 +134,12 @@ export async function GetChallengerIDs(userID: integer, game: Game, playtype: Pl
|
||||
},
|
||||
{
|
||||
projection: {
|
||||
rivals: 1,
|
||||
userID: 1,
|
||||
},
|
||||
}
|
||||
);
|
||||
|
||||
return result.map((e) => e.rivals).flat();
|
||||
return result.map((e) => e.userID);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user