Skip to content

Commit

Permalink
fallback to video from appx (code100x#1575)
Browse files Browse the repository at this point in the history
  • Loading branch information
devsargam authored Nov 21, 2024
1 parent fb470b5 commit ec7c431
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 ec7c431

Please sign in to comment.