Skip to content

Commit 8283485

Browse files
feat(post-type-video): loosen video field validation
1 parent 8dab984 commit 8283485

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/post-type-video/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default class PhotoPostType {
3333
errorMessage: (value, { req }) =>
3434
req.__(`posts.error.media.empty`, "/movies/video.mp4"),
3535
exists: { if: (value, { req }) => isRequired(req, "video") },
36-
isURL: true,
36+
notEmpty: true,
3737
},
3838
};
3939
}

0 commit comments

Comments
 (0)