Skip to content

Commit ec7c431

Browse files
authored
fallback to video from appx (#1575)
1 parent fb470b5 commit ec7c431

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/api/admin/content/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export const POST = async (req: NextRequest) => {
7979

8080
const content = await db.content.create({
8181
data: {
82-
type,
82+
type: type === 'appx' ? 'video' : type,
8383
title,
8484
parentId: parentContentId,
8585
thumbnail,

0 commit comments

Comments
 (0)