Skip to content

Commit

Permalink
Fixed a typo on error message for push token API (#10857)
Browse files Browse the repository at this point in the history
Fix: typo on error message for push token API
  • Loading branch information
rafaelks authored and rodrigok committed May 25, 2018
1 parent e9a98b2 commit 599a61c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rocketchat-api/server/v1/push.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RocketChat.API.v1.addRoute('push.token', { authRequired: true }, {
}

if (!value || typeof value !== 'string') {
throw new Meteor.Error('error-token-param-not-valid', 'The required "token" body param is missing or invalid.');
throw new Meteor.Error('error-token-param-not-valid', 'The required "value" body param is missing or invalid.');
}

if (!appName || typeof appName !== 'string') {
Expand Down

0 comments on commit 599a61c

Please sign in to comment.