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