Fix TypeScript and lint errors
- Add missing reqHeaders/resHeaders to webauthn test context - Fix Session.id type from number to string in test - Remove unnecessary Number() conversion in countOwners Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -120,5 +120,5 @@ export async function countOwners(
|
||||
.where("role", "=", "owner")
|
||||
.executeTakeFirstOrThrow();
|
||||
|
||||
return Number(result.count);
|
||||
return result.count;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user