Merge pull request from digitalsadhu/master

Add missing . to user model property descriptions
This commit is contained in:
Miroslav Bajtoš 2015-08-06 09:40:22 +02:00
commit 004baad44c
1 changed files with 3 additions and 3 deletions
common/models

View File

@ -611,7 +611,7 @@ module.exports = function(User) {
UserModel.remoteMethod( UserModel.remoteMethod(
'logout', 'logout',
{ {
description: 'Logout a user with access token', description: 'Logout a user with access token.',
accepts: [ accepts: [
{arg: 'access_token', type: 'string', required: true, http: function(ctx) { {arg: 'access_token', type: 'string', required: true, http: function(ctx) {
var req = ctx && ctx.req; var req = ctx && ctx.req;
@ -630,7 +630,7 @@ module.exports = function(User) {
UserModel.remoteMethod( UserModel.remoteMethod(
'confirm', 'confirm',
{ {
description: 'Confirm a user registration with email verification token', description: 'Confirm a user registration with email verification token.',
accepts: [ accepts: [
{arg: 'uid', type: 'string', required: true}, {arg: 'uid', type: 'string', required: true},
{arg: 'token', type: 'string', required: true}, {arg: 'token', type: 'string', required: true},
@ -643,7 +643,7 @@ module.exports = function(User) {
UserModel.remoteMethod( UserModel.remoteMethod(
'resetPassword', 'resetPassword',
{ {
description: 'Reset password for a user with email', description: 'Reset password for a user with email.',
accepts: [ accepts: [
{arg: 'options', type: 'object', required: true, http: {source: 'body'}} {arg: 'options', type: 'object', required: true, http: {source: 'body'}}
], ],