1
0
Fork 0
mirror of synced 2024-09-20 19:33:10 +12:00

Minor change to the error messaging

This commit is contained in:
Dean 2024-07-18 15:23:10 +01:00
parent 7c03a39b9f
commit 4da3155374

View file

@ -174,7 +174,7 @@ class LinkController {
if (field.type === FieldType.LINK && rowField != null) {
// Expects an array of docs with at least their _id
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