Merge pull request 'replace userId to childId' (#12) from tmp into master
Reviewed-on: #12
This commit is contained in:
@@ -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
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user