fix: 修复群晖授权没有显示设备id输入框的bug

This commit is contained in:
xiaojunnuo
2026-05-14 18:42:35 +08:00
parent 9076c8b20e
commit 2f172b56e9
3 changed files with 5 additions and 3 deletions
@@ -245,8 +245,7 @@ export class LoginService {
async loginByOpenId(req: { openId: string, type:string }) {
const {openId, type} = req;
const oauthBound = await this.oauthBoundService.findOne({
where:{openId, type: type.replace(':', '')')}
});
where:{openId, type: type.replace(':', '')}
});
if (oauthBound == null) {
return null