From f02e349faaf1c5b5db3d39d42a0afca61a23eac1 Mon Sep 17 00:00:00 2001 From: wangyaqi Date: Thu, 23 Feb 2023 16:42:07 +0800 Subject: [PATCH] fix: save secure network cache --- .../cloudfunctions/uni-id-co/module/login/login-by-weixin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-weixin.js b/uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-weixin.js index fb20db9..dbf4059 100644 --- a/uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-weixin.js +++ b/uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-weixin.js @@ -88,7 +88,7 @@ module.exports = async function (params = {}) { if (weixinPlatform !== 'mp') { throw new Error('Unsupported weixin platform, expect mp-weixin') } - await saveSecureNetworkCache({ + await saveSecureNetworkCache.call(this, { code, openid, unionid, -- GitLab