Minor change to the error messaging
This commit is contained in:
parent
7c03a39b9f
commit
4da3155374
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ class LinkController {
|
||||||
if (field.type === FieldType.LINK && rowField != null) {
|
if (field.type === FieldType.LINK && rowField != null) {
|
||||||
// Expects an array of docs with at least their _id
|
// Expects an array of docs with at least their _id
|
||||||
if (!Array.isArray(rowField)) {
|
if (!Array.isArray(rowField)) {
|
||||||
throw new Error("Relationship Error: Invalid request")
|
throw new Error("Relationship Error: Invalid value")
|
||||||
}
|
}
|
||||||
|
|
||||||
// check which links actual pertain to the update in this row
|
// check which links actual pertain to the update in this row
|
||||||
|
|
Loading…
Reference in a new issue