fix(oauth): narrow the refused registration for the strict compiler

This commit is contained in:
Maurice
2026-11-17 15:58:02 +01:00
parent b11d8d492c
commit b377c3656c
+1 -1
View File
@@ -228,7 +228,7 @@ export class OauthService {
}),
};
});
if ('refused' in inserted) return inserted.refused;
if ('refused' in inserted && inserted.refused) return inserted.refused;
const row = inserted.row;
await this.audit.writeAudit({