Took 1 hour 16 minutes
This commit is contained in:
2023-01-09 21:44:23 +01:00
parent b1fe4e0953
commit 9c63516ab8
5 changed files with 54 additions and 13 deletions

View File

@ -78,7 +78,7 @@ export class WebSocketHandler {
let stats = {
"drinks_finished": (await Job.countDocuments({successful: true})),
"drink_most": ( counts.length == 0 ) ? "Keiner" : counts[0].name,
"drink_most": (counts.length == 0) ? "Keiner" : counts[0].name,
"count_ingredients": (await Ingredient.countDocuments()),
"count_cocktails": (await Drink.countDocuments())
};