From ae905c8630418e12a6d2814163b175c4b921002d Mon Sep 17 00:00:00 2001 From: Will Miao <13051207myq@gmail.com> Date: Thu, 26 Jun 2025 16:57:26 +0800 Subject: [PATCH] fix: correct extension name format and update initialization method in usage stats --- web/comfyui/usage_stats.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/comfyui/usage_stats.js b/web/comfyui/usage_stats.js index 73f04b87..b16c2807 100644 --- a/web/comfyui/usage_stats.js +++ b/web/comfyui/usage_stats.js @@ -4,9 +4,9 @@ import { api } from "../../scripts/api.js"; // Register the extension app.registerExtension({ - name: "Lora-Manager.UsageStats", + name: "LoraManager.UsageStats", - init() { + setup() { // Listen for successful executions api.addEventListener("execution_success", ({ detail }) => { if (detail && detail.prompt_id) {