fix logging wrong id
This commit is contained in:
parent
4b0a1786fa
commit
d5e4d55e55
1 changed files with 1 additions and 1 deletions
|
@ -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 },
|
||||||
|
|
Loading…
Reference in a new issue