mirror of
https://github.com/jakejarvis/sofa.git
synced 2026-08-29 03:55:38 -04:00
Fix wrong TMDB field for person profile images in search
Person results from multi-search were using poster_path instead of profile_path, causing missing profile images. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -86,7 +86,7 @@ export async function GET(req: NextRequest) {
|
||||
type: "person" as const,
|
||||
title: r.name ?? "Unknown",
|
||||
posterPath: null,
|
||||
profilePath: tmdbImageUrl(r.poster_path, "w185"),
|
||||
profilePath: tmdbImageUrl(r.profile_path, "w185"),
|
||||
overview: "",
|
||||
releaseDate: null,
|
||||
popularity: r.popularity,
|
||||
|
||||
Reference in New Issue
Block a user