Skip to content

Commit bf80ede

Browse files
linting
Signed-off-by: jackdisalvatore <[email protected]>
1 parent 5d7f63e commit bf80ede

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

frontend/src/lib/services/UnityAuth/UnityAuth.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,14 @@ export class UnityAuthServiceImpl
5050
}
5151

5252
async login(email: string, password: string): Promise<CompleteLoginResponse> {
53-
let completeLoginRes: CompleteLoginResponse;
54-
5553
const res = await this.axiosInstance.post('/api/login', {
5654
username: email,
5755
password: password
5856
});
5957

6058
const loginRes = UnityAuthLoginResponseSchema.parse(res.data);
6159

62-
completeLoginRes = { ...loginRes };
60+
const completeLoginRes: CompleteLoginResponse = { ...loginRes };
6361

6462
try {
6563
const tenantsRes = await this.tenantsResolver.getTenants(loginRes);

0 commit comments

Comments
 (0)