fix: 解绑返回Promise

This commit is contained in:
ldh
2023-01-17 18:36:09 +08:00
parent c6bd290f8e
commit d5ae2524c0
2 changed files with 2 additions and 2 deletions
@@ -76,7 +76,7 @@ const unbind = async () => {
const { error } = await third.wechat.unbind({
platform: 'miniProgram',
});
return !error;
return Promise.resolve(!error);
};
// 获取最新sessionId
@@ -60,7 +60,7 @@ async function unbind() {
const { error } = await third.wechat.unbind({
platform: 'officialAccount',
});
return !error;
return Promise.resolve(!error);
}
// 获取公众号登陆地址