From ad1ebd9bbc01471ec22a6da10ce41c5c462acfcb Mon Sep 17 00:00:00 2001 From: Joel Date: Thu, 12 Feb 2026 16:12:25 +0800 Subject: [PATCH] fix: org avatar not show --- web/app/components/plugins/marketplace/types.ts | 1 + web/app/components/plugins/marketplace/utils.ts | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/web/app/components/plugins/marketplace/types.ts b/web/app/components/plugins/marketplace/types.ts index e6eb446ede..dd5df48ed0 100644 --- a/web/app/components/plugins/marketplace/types.ts +++ b/web/app/components/plugins/marketplace/types.ts @@ -118,6 +118,7 @@ export type BatchAddTemplatesToCollectionRequest = { // Creator types export type Creator = { + id?: string email: string name: string display_name: string diff --git a/web/app/components/plugins/marketplace/utils.ts b/web/app/components/plugins/marketplace/utils.ts index 7f78240588..938608c4f5 100644 --- a/web/app/components/plugins/marketplace/utils.ts +++ b/web/app/components/plugins/marketplace/utils.ts @@ -70,6 +70,10 @@ export const getCreatorAvatarUrl = (uniqueHandle: string) => { return `${MARKETPLACE_API_PREFIX}/creators/${uniqueHandle}/avatar` } +export const getOrganizationAvatarUrl = (id: string) => { + return `${MARKETPLACE_API_PREFIX}/organizations/${id}/avatar` +} + export const getFormattedPlugin = (bundle: Plugin): Plugin => { if (bundle.type === 'bundle') { return {