« get me outta code hell

validators: validateArrayItems: fix outdated annotation symbol - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-12-31 23:48:49 -0400
committer(quasar) nebula <qznebula@protonmail.com>2023-12-31 23:49:33 -0400
commit43db3a7708c076c691268c6e4f7d168156e69280 (patch)
tree56b224aae63b8b9f63a6a746f9573fedb3759df0
parentd1a84f006115148169271771f51d5d703d780b55 (diff)
validators: validateArrayItems: fix outdated annotation symbol
-rw-r--r--src/data/things/validators.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data/things/validators.js b/src/data/things/validators.js
index ef6b7b88..8c2a96e4 100644
--- a/src/data/things/validators.js
+++ b/src/data/things/validators.js
@@ -225,7 +225,7 @@ function validateArrayItemsHelper(itemValidator) {
               .join('\n')
           : `${annotation} ${error}`);
 
-      error[Symbol.for('hsmusic.decorate.indexInSourceArray')] = index;
+      error[Symbol.for('hsmusic.annotateError.indexInSourceArray')] = index;
 
       throw error;
     }