Skip to content

Commit bb74996

Browse files
authored
Merge pull request #70 from bbugh/patch-1
Fix incorrect ruby syntax and :notice singular
2 parents fd2f3d4 + a87b2cd commit bb74996

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ A `notice` has the following options:
153153
Example of a `notices` proc that adds a notice to the `TeamDiscussion` type:
154154

155155
```ruby
156-
options[:notice] = (schema_member_path) -> {
156+
options[:notices] = ->(schema_member_path) {
157157
notices = []
158158

159159
if schema_member_path == "TeamDiscussion"

0 commit comments

Comments
 (0)