mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-11 22:23:32 +08:00
typo
This commit is contained in:
parent
a9b20e6404
commit
fefaf84fca
1 changed files with 1 additions and 1 deletions
|
@ -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