lib/omniauth/strategies/tent.rb in omniauth-tent-0.1.0 vs lib/omniauth/strategies/tent.rb in omniauth-tent-0.1.1
- old
+ new
@@ -128,10 +128,10 @@
res = client.app.create(app_attrs)
if (app = res.body) && !app.kind_of?(::String)
set_app(app)
- options[:on_app_created].call(get_app)
+ options[:on_app_created].call(get_app, get_state(:entity))
else
raise AppCreateFailure.new(res.inspect)
end
end