From 2cc745ef5672a369abf1869523b355649c20f810 Mon Sep 17 00:00:00 2001 From: aaronm-2112 Date: Fri, 2 Feb 2024 08:43:28 -0800 Subject: [PATCH] fix: getCollectionTags result undefined --- src/renderer/src/scripts/others/api/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/src/scripts/others/api/api.js b/src/renderer/src/scripts/others/api/api.js index b31370b16e..ecb644ea76 100644 --- a/src/renderer/src/scripts/others/api/api.js +++ b/src/renderer/src/scripts/others/api/api.js @@ -289,7 +289,7 @@ const getCurrentCollectionTags = async (account, dataset) => { const getAllCollectionTags = async (account) => { window.allCollectionTags = {}; try { - result = await client.get(`/collections/`, { + let result = await client.get(`/collections/`, { params: { selected_account: account }, }); let res = result.data;