Merge pull request #1501 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

View File

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