mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-20 23:36:37 +08:00
typo
This commit is contained in:
parent
a9b20e6404
commit
fefaf84fca
|
@ -1,7 +1,7 @@
|
|||
const { mongoDB } = require("../init/mongodb");
|
||||
|
||||
async function log(event, message, uid) {
|
||||
await mongoDB.collection("logs").insertOne({
|
||||
await mongoDB().collection("logs").insertOne({
|
||||
timestamp: Date.now(),
|
||||
uid,
|
||||
event,
|
||||
|
|
Loading…
Reference in a new issue