Skip to content

Commit 9115c08

Browse files
author
Robert Mosolgo
authored
Merge pull request rmosolgo#1759 from modosc/patch-1
fix ActionCableSubsciprions docs (fixes rmosolgo#1746)
2 parents f85d230 + 2a785fb commit 9115c08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/graphql/subscriptions/action_cable_subscriptions.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class Subscriptions
3939
# })
4040
#
4141
# payload = {
42-
# result: result.subscription? ? {data: nil} : result.to_h,
42+
# result: result.subscription? ? nil : result.to_h,
4343
# more: result.subscription?,
4444
# }
4545
#

0 commit comments

Comments
 (0)