replace userId to childId

pull/12/head
Suvodip 2025-02-03 16:20:05 +05:30
parent 3b75e915e3
commit ed657df69a
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ async function main() {
const { userId, gameName, gameID } = req.body; const { userId, gameName, gameID } = req.body;
const gameData = await collection.findOne({ const gameData = await collection.findOne({
userId: userId, childId: userId,
gameName: gameName, gameName: gameName,
gameID: gameID gameID: gameID
}); });