Merge pull request #1297 from drew-gross/error-copy

Update error message
This commit is contained in:
Florent Vilmart
2016-03-31 09:16:55 -04:00

View File

@@ -46,8 +46,7 @@ export class PushRouter extends PromiseRouter {
} }
} }
} else { } else {
throw new Parse.Error(Parse.Error.PUSH_MISCONFIGURED, throw new Parse.Error(Parse.Error.PUSH_MISCONFIGURED, 'Sending a push requires either "channels" or a "where" query.');
'Channels and query should be set at least one.');
} }
return where; return where;
} }