replace userId to childId #12
|
@ -19,7 +19,7 @@ async function main() {
|
|||
|
||||
const { userId, gameName, gameID } = req.body;
|
||||
const gameData = await collection.findOne({
|
||||
userId: userId,
|
||||
childId: userId,
|
||||
gameName: gameName,
|
||||
gameID: gameID
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue