Skip to content

Commit

Permalink
Merge pull request #3277 from Plausible0Bug/patch-1
Browse files Browse the repository at this point in the history
Fix an issue in google_calendar.rb after upgrading to Ruby 3.2.0
  • Loading branch information
knu committed Jun 22, 2023
2 parents 516ab3a + b851fbe commit 28934d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/google_calendar.rb
Expand Up @@ -49,7 +49,7 @@ def publish_as(who, details)
@logger.info("Attempting to create event for " + who)
@logger.debug details.to_yaml

event = Google::Apis::CalendarV3::Event.new(details.deep_symbolize_keys)
event = Google::Apis::CalendarV3::Event.new(**details.deep_symbolize_keys)
ret = @calendar.insert_event(
who,
event,
Expand Down

0 comments on commit 28934d4

Please sign in to comment.