Skip to content

Commit

Permalink
fallback to video from appx
Browse files Browse the repository at this point in the history
  • Loading branch information
devsargam committed Nov 21, 2024
1 parent fb470b5 commit 66bd81e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/api/admin/content/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 66bd81e

Please sign in to comment.