Make code compatible with Ruby 2.7
Not including specs etc.
This commit is contained in:
@@ -148,14 +148,14 @@ module Nostr
|
||||
#
|
||||
def to_h
|
||||
{
|
||||
ids:,
|
||||
authors:,
|
||||
kinds:,
|
||||
ids: ids,
|
||||
authors: authors,
|
||||
kinds: kinds,
|
||||
'#e': e,
|
||||
'#p': p,
|
||||
since:,
|
||||
since: since,
|
||||
until: self.until,
|
||||
limit:
|
||||
limit: limit
|
||||
}.compact
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user