Copy change
This commit is contained in:
parent
5c3973d7f9
commit
5912c2b129
|
@ -349,8 +349,7 @@ describe.each([
|
|||
await config.api.viewV2.create(newView, {
|
||||
status: 400,
|
||||
body: {
|
||||
message:
|
||||
'Field "name" cannot be readonly as it is a required field',
|
||||
message: 'You can\'t make the required field "name" read only',
|
||||
status: 400,
|
||||
},
|
||||
})
|
||||
|
|
|
@ -60,7 +60,7 @@ async function guardViewSchema(
|
|||
|
||||
if (isRequired(tableSchemaField.constraints)) {
|
||||
throw new HTTPError(
|
||||
`Field "${field}" cannot be readonly as it is a required field`,
|
||||
`You can't make the required field "${field}" read only`,
|
||||
400
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue