mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-20 02:56:10 +00:00
fix(oauth): narrow the refused registration for the strict compiler
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user