Fix typo in description for Parse.Error.INVALID_QUERY (#2164)

This commit is contained in:
Andrew Lane
2016-06-28 22:40:25 -04:00
committed by Tyler Brock
parent 799e59618c
commit 9e725f616b

View File

@@ -16,7 +16,7 @@ export class ClassesRouter extends PromiseRouter {
for (let key of Object.keys(body)) {
if (allowConstraints.indexOf(key) === -1) {
throw new Parse.Error(Parse.Error.INVALID_QUERY, `Invalid paramater for query: ${key}`);
throw new Parse.Error(Parse.Error.INVALID_QUERY, `Invalid parameter for query: ${key}`);
}
}