Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feathers service #352

Closed
subash891 opened this issue Oct 18, 2019 · 1 comment
Closed

feathers service #352

subash891 opened this issue Oct 18, 2019 · 1 comment

Comments

@subash891
Copy link

this is reset.class.js
const { Service } = require('feathers-sequelize');
const axios = require('axios');
const app = require('../../app');

exports.ResetPassword = class ResetPassword extends Service {

create(data){
  console.log(app);
  const users = app.service('users');
  //   var id = 1;
  //   return users.patch(id,data);
}

};

here how to i use user service,

@daffl
Copy link
Member

daffl commented Oct 18, 2019

This is the Mongoose repository. How this all fits together is also described in the Guide, e.g. the Quick start chapter.

@daffl daffl closed this as completed Oct 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants