From 770b70a13590a290f8f47027cd2edecb0d6c8782 Mon Sep 17 00:00:00 2001 From: diegosouzapw Date: Sat, 11 Apr 2026 11:48:13 -0300 Subject: [PATCH] fix: correct SkillsMP marketplace API response mapping for Docker instances (#988) --- src/app/api/skills/marketplace/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/api/skills/marketplace/route.ts b/src/app/api/skills/marketplace/route.ts index d8127d074f..4c623e3a45 100644 --- a/src/app/api/skills/marketplace/route.ts +++ b/src/app/api/skills/marketplace/route.ts @@ -33,7 +33,7 @@ export async function GET(request: Request) { } const data = await res.json(); - return NextResponse.json({ skills: data.skills || [] }); + return NextResponse.json({ skills: data.data?.skills || data.skills || [] }); } catch (err: unknown) { const error = err instanceof Error ? err.message : String(err); return NextResponse.json({ error }, { status: 500 });