Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix: include entity as second argument when calling on_app_created

callback fixes #1
  • Loading branch information...
commit c1e30cbbb95175cad951d659fe04e804ca020940 1 parent f4a7671
@jvatic jvatic authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/omniauth/strategies/tent.rb
View
2  lib/omniauth/strategies/tent.rb
@@ -130,7 +130,7 @@ def create_app
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
Please sign in to comment.
Something went wrong with that request. Please try again.