Skip to content

Commit

Permalink
no more agency related to app
Browse files Browse the repository at this point in the history
  • Loading branch information
qinmingyuan committed Dec 17, 2023
1 parent fcea167 commit b208451
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/models/wechat/model/app/public_app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ module Model::App::PublicApp
end

def oauth2_url(scope: 'snsapi_userinfo', state: SecureRandom.hex(16), **url_options)
return agency.oauth2_url(scope: scope, state: state, **url_options) if agency
url_options.with_defaults! controller: 'wechat/apps', action: 'login', id: id, host: self.domain
h = {
appid: appid,
Expand Down

0 comments on commit b208451

Please sign in to comment.