mirror of
https://github.com/wassname/talk.git
synced 2026-06-29 20:53:07 +08:00
11 lines
295 B
JavaScript
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);
|
|
},
|
|
},
|
|
};
|