lib/telegram/bot/middleware.rb in telegram-bot-0.4.1 vs lib/telegram/bot/middleware.rb in telegram-bot-0.4.2
- old
+ new
@@ -13,10 +13,10 @@
end
def call(env)
update = env['action_dispatch.request.request_parameters']
controller.dispatch(bot, update)
- [200, {}, '']
+ [200, {}, ['']]
end
def inspect
"#<#{self.class.name}(#{controller.try!(:name)})>"
end