diff --git a/server.rb b/server.rb index dc6ec53..0b8fc73 100644 --- a/server.rb +++ b/server.rb @@ -7,6 +7,8 @@ drinkup_name = params['place'] + "-" + params['date'] summary = [] + sheets = Github.get_sheets(drinkup_name) + return "{}" unless sheets Github.get_sheets(drinkup_name).each do |sheet| summary << Attendee.collect(drinkup_name, sheet) end