Files
Harun CAN 2e6c272eee
Backend Deploy 🚀 / build-and-deploy (push) Has been cancelled
main
2026-05-11 07:32:58 +02:00

19 lines
519 B
JavaScript

const { PrismaClient } = require('@prisma/client');
const prisma = new PrismaClient();
async function check() {
const episodes = await prisma.tubeStrategistEpisode.findMany({
orderBy: { createdAt: 'desc' },
take: 1
});
if (episodes.length > 0) {
const analysis = episodes[0].masterAnalysis;
console.log("Thumbnail URL:", JSON.stringify(analysis.thumbnailUrl, null, 2));
} else {
console.log("No episodes found.");
}
}
check().catch(console.error).finally(() => prisma.$disconnect());