From 631277dfbaead8f8498c254dbd70176b02ab78ca Mon Sep 17 00:00:00 2001 From: Edwin Wong Date: Tue, 14 Nov 2023 02:19:22 +0800 Subject: [PATCH] fix: unify to avatarId --- js/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/index.js b/js/index.js index 9d5cca9..1f3542e 100644 --- a/js/index.js +++ b/js/index.js @@ -656,7 +656,7 @@ export async function uploadPreview() { }).catch((error) => console.error(error)); infoDialog.show( - `Preview avatar url: https://editor.avatech.ai/viewer?objectId=` + + `Preview avatar url: https://editor.avatech.ai/viewer?avatarId=` + labData.modelId + ``, ); @@ -733,7 +733,7 @@ function injectUIComponentToComfyuimenu() { ).catch((error) => console.error(error)); infoDialog.show( - `Preview updated: https://editor.avatech.ai/viewer?objectId=` + + `Preview updated: https://editor.avatech.ai/viewer?avatarId=` + labData.modelId + "\n Remember to hard refresh before checking out the new preview!", ); @@ -773,7 +773,7 @@ function injectUIComponentToComfyuimenu() { shareAvatar.append(dropdown); } else { infoDialog.show( - `Preview avatar url: https://editor.avatech.ai/viewer?objectId=` + + `Preview avatar url: https://editor.avatech.ai/viewer?avatarId=` + previewModelId.val + ``, );