Merge pull request 'replace userId to childId' (#12) from tmp into master

Reviewed-on: #12
suvo-patch-1
Subhodip Ghosh 2025-02-03 10:51:03 +00:00
commit abcfc2dbca
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
}); });