Skip to content

Commit 6513786

Browse files
committed
Merge pull request #1173 from kesha-antonov/master
Update Readme.md: fix hash syntax
2 parents d772637 + 957f603 commit 6513786

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1624,7 +1624,7 @@ Optionally, you can set the format, status code and headers.
16241624
class Twitter::API < Grape::API
16251625
format :json
16261626
rescue_from :all do |e|
1627-
error!({ error: 'Server error.', 500, { 'Content-Type' => 'text/error' } })
1627+
error!({ error: 'Server error.' }, 500, { 'Content-Type' => 'text/error' })
16281628
end
16291629
end
16301630
```

0 commit comments

Comments
 (0)