Files
talk/plugins/talk-plugin-local-auth/server/resolvers.js
T
Wyatt Johnson 10d27357f4 reorganized
2018-04-20 13:17:57 -06:00

11 lines
295 B
JavaScript

module.exports = {
RootMutation: {
updateEmailAddress: async (root, { input }, { mutators: { User } }) => {
await User.updateEmailAddress(input);
},
attachLocalAuth: async (root, { input }, { mutators: { User } }) => {
await User.attachLocalAuth(input);
},
},
};