Merge pull request #1501 from digitalsadhu/master
Add missing . to user model property descriptions
This commit is contained in:
commit
004baad44c
|
@ -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'}}
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue