From b2084515f10c0b57d761901ab5615ed33222bdfd Mon Sep 17 00:00:00 2001 From: qinmingyuan Date: Sun, 17 Dec 2023 14:11:56 +0800 Subject: [PATCH] no more agency related to app --- app/models/wechat/model/app/public_app.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/models/wechat/model/app/public_app.rb b/app/models/wechat/model/app/public_app.rb index 0cbf905e..726d14e8 100644 --- a/app/models/wechat/model/app/public_app.rb +++ b/app/models/wechat/model/app/public_app.rb @@ -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,