mirror of
https://github.com/wassname/talk.git
synced 2026-07-19 11:28:50 +08:00
Fix bug in example
This commit is contained in:
+1
-1
@@ -248,7 +248,7 @@ module.exports = {
|
||||
hooks: {
|
||||
RootMutation: {
|
||||
createPerson: {
|
||||
post: async (obj, args, {plugins: {Slack}}, person) {
|
||||
post: async (obj, args, {plugins: {Slack}}, person) => {
|
||||
if (!person) {
|
||||
return person;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user