File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -149,12 +149,11 @@ export const keywordsQueries: ErrorQuery[] = [{
149149
150150export const messageQueries : ErrorQuery [ ] = [ {
151151 find : {
152- instancePath : '' ,
153- message : 'must have required property \'message\'' ,
154- schemaPath : '#/required'
152+ message : 'must NOT have fewer than 1 characters' ,
153+ schemaPath : '#/properties/message/minLength'
155154 } ,
156155 replace : {
157- message : '\'message\' is a required property '
156+ message : '\'message\' needs to be at least 1 character long. '
158157 }
159158} ]
160159
@@ -202,12 +201,11 @@ export const repositoryQueries: ErrorQuery[] = [{
202201
203202export const titleQueries : ErrorQuery [ ] = [ {
204203 find : {
205- instancePath : '' ,
206- message : 'must have required property \'title\'' ,
207- schemaPath : '#/required'
204+ message : 'must NOT have fewer than 1 characters' ,
205+ schemaPath : '#/properties/title/minLength'
208206 } ,
209207 replace : {
210- message : '\'title\' is a required property '
208+ message : '\'title\' needs to be at least 1 character long. '
211209 }
212210} ]
213211
You can’t perform that action at this time.
0 commit comments