fix logging wrong id

This commit is contained in:
Lea 2023-03-21 12:57:40 +01:00
parent 4b0a1786fa
commit d5e4d55e55
No known key found for this signature in database
GPG key ID: 1BAFFE8347019C42

View file

@ -120,7 +120,7 @@ const notifyPublicServers = async () => {
res.forEach(async (serverConfig) => { res.forEach(async (serverConfig) => {
try { try {
logger.info(`Sending notification to owner of server ${serverConfig._id}`); logger.info(`Sending notification to owner of server ${serverConfig.id}`);
await dbs.SERVERS.update( await dbs.SERVERS.update(
{ id: serverConfig.id }, { id: serverConfig.id },