Fix lint errors and formatting

- Wrap error.code with String() in CLI complete-login command
- Apply formatting fixes from linter

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
RevIQ
2026-01-09 19:16:23 +08:00
parent 93ef5c3942
commit 68fc67ba4a
4 changed files with 20 additions and 6 deletions

View File

@@ -35,7 +35,8 @@ export const adminAuthCompleteLogin = os.admin.auth.completeLogin
// Check if expired
if (new Date(anyRequest.expires_at) < new Date()) {
throw new ORPCError("BAD_REQUEST", {
message: "Login request expired (15 min limit). Start a new login flow.",
message:
"Login request expired (15 min limit). Start a new login flow.",
});
}