Skip to content

Commit ff05bd0

Browse files
committed
Merge pull request #1337 from glaucocustodio/master
Update README.md [ci skip]
2 parents dc77375 + ff016ab commit ff05bd0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2299,7 +2299,9 @@ module API
22992299
expose :text, documentation: { type: 'string', desc: 'Status update text.' }
23002300
expose :ip, if: { type: :full }
23012301
expose :user_type, :user_id, if: ->(status, options) { status.user.public? }
2302-
expose :digest { |status, options| Digest::MD5.hexdigest(status.txt) }
2302+
expose :digest do |status, options|
2303+
Digest::MD5.hexdigest(status.txt)
2304+
end
23032305
expose :replies, using: API::Status, as: :replies
23042306
end
23052307
end

0 commit comments

Comments
 (0)