replace userId to childId

This commit is contained in:
Suvodip
2025-02-03 16:20:05 +05:30
parent 3b75e915e3
commit ed657df69a

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
}); });