mirror of
https://github.com/wassname/talk.git
synced 2026-10-03 13:02:47 +08:00
Fixed bug in docs
This commit is contained in:
1 parent
d0ec7bbad1
commit
4a416d9477
1 file changed
+2
-2
+2
-2
@@ -149,7 +149,7 @@ This will merge with the existing resolvers in core and from previous plugins.
|
||||
{
|
||||
RootMutation: {
|
||||
createPerson: {
|
||||
post(obj, args, {plugins: {Slack}}, person) {
|
||||
post: async (obj, args, {plugins: {Slack}}, person) {
|
||||
if (!person) {
|
||||
return person;
|
||||
}
|
||||
@@ -248,7 +248,7 @@ module.exports = {
|
||||
hooks: {
|
||||
RootMutation: {
|
||||
createPerson: {
|
||||
post(obj, args, {plugins: {Slack}}, person) {
|
||||
post: async (obj, args, {plugins: {Slack}}, person) {
|
||||
if (!person) {
|
||||
return person;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user