From 1037f51f24852ea135e5426af9160aecdfa0242d Mon Sep 17 00:00:00 2001 From: vhaudiquet Date: Fri, 13 Dec 2024 19:13:31 +0100 Subject: [PATCH] logfix --- patch_detector/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patch_detector/index.ts b/patch_detector/index.ts index bd2313f..646545b 100644 --- a/patch_detector/index.ts +++ b/patch_detector/index.ts @@ -37,7 +37,7 @@ async function compareLatestSavedPatch(client: MongoClient, newPatch : string, n const patches = database.collection("patches") const latestPatch = await patches.find().limit(1).sort({date:-1}).next() - console.log("Latest patch in database is: " + latestPatch) + console.log("Latest patch in database is: " + latestPatch.patch) if(latestPatch.patch != newPatch) { await patches.insertOne({patch:newPatch, date:newDate})