fix: typo

This commit is contained in:
Lebit 2022-07-12 17:03:05 +02:00
parent 141ef84114
commit 5d831d4ca6

View File

@ -133,7 +133,7 @@ const processWhere = (where, ctx) => {
}
if (isOperator(key)) {
throw new Error(`Only $and, $or and $not can by used as root level operators. Found ${key}.`);
throw new Error(`Only $and, $or and $not can only be used as root level operators. Found ${key}.`);
}
const attribute = meta.attributes[key];