Add missing . to user model property descriptions

This commit is contained in:
Richard Walker 2015-07-04 22:30:45 +02:00
parent 860e2b0fe2
commit 83dca3e838
1 changed files with 3 additions and 3 deletions

View File

@ -587,7 +587,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;
@ -606,7 +606,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},
@ -619,7 +619,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'}}
], ],