fix: make search work
This commit is contained in:
@@ -74,7 +74,7 @@ export function getRecommendation(
|
||||
}
|
||||
|
||||
export async function getSimilarMovies(id: string) {
|
||||
const recs = getRecommendation(id, "movie");
|
||||
const recs = getRecommendation(id, "movies");
|
||||
if (!recs?.keywords?.length) return;
|
||||
|
||||
const recommendations = await openai.getMovieRecommendations(
|
||||
|
||||
Reference in New Issue
Block a user