diff --git a/src/app/api/admin/content/route.ts b/src/app/api/admin/content/route.ts index 28d57d17..acd30502 100644 --- a/src/app/api/admin/content/route.ts +++ b/src/app/api/admin/content/route.ts @@ -79,7 +79,7 @@ export const POST = async (req: NextRequest) => { const content = await db.content.create({ data: { - type, + type: type === 'appx' ? 'video' : type, title, parentId: parentContentId, thumbnail,