mirror of
https://github.com/janderedev/automod.git
synced 2024-12-22 10:45:27 +00:00
fix logging wrong id
This commit is contained in:
parent
4b0a1786fa
commit
d5e4d55e55
|
@ -120,7 +120,7 @@ const notifyPublicServers = async () => {
|
|||
|
||||
res.forEach(async (serverConfig) => {
|
||||
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(
|
||||
{ id: serverConfig.id },
|
||||
|
|
Loading…
Reference in a new issue