We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27c9504 commit 8dab984Copy full SHA for 8dab984
packages/post-type-photo/index.js
@@ -34,7 +34,7 @@ export default class PhotoPostType {
34
errorMessage: (value, { req }) =>
35
req.__(`posts.error.media.empty`, "/photos/image.jpg"),
36
exists: { if: (value, { req }) => isRequired(req, "photo") },
37
- isURL: true,
+ notEmpty: true,
38
},
39
"photo.*.alt": {
40
0 commit comments