lib/pubnub/events/grant.rb in pubnub-4.4.0 vs lib/pubnub/events/grant.rb in pubnub-4.5.0
- old
+ new
@@ -6,10 +6,10 @@
include Pubnub::Validator::Grant
def initialize(options, app)
@event = current_operation
super
- @uuids = options[:uuids] unless options[:uuids].nil?
+ @uuids = Formatter::format_uuid(options[:uuids]) unless options[:uuids].nil?
@ttl ||= Pubnub::Constants::DEFAULT_TTL
end
private