Skip to content

Commit 022bec2

Browse files
committed
Merge pull request ruby-grape#670 from qqshfox/patch-1
fix a small typo in README.md
2 parents 8f77144 + c37d2ca commit 022bec2

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
@@ -1332,7 +1332,7 @@ module API
13321332
expose :user_name
13331333
expose :text, documentation: { type: "string", desc: "Status update text." }
13341334
expose :ip, if: { type: :full }
1335-
expose :user_type, user_id, if: lambda { |status, options| status.user.public? }
1335+
expose :user_type, :user_id, if: lambda { |status, options| status.user.public? }
13361336
expose :digest { |status, options| Digest::MD5.hexdigest(status.txt) }
13371337
expose :replies, using: API::Status, as: :replies
13381338
end

0 commit comments

Comments
 (0)