File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
frontend/src/lib/services Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export class TenantsResolverImpl implements TenantsResolver {
10
10
constructor ( private props : { libreBaseUrl : string } ) { }
11
11
12
12
async getTenants ( loginRes : UnityAuthLoginResponse ) : Promise < TenantsResponse > {
13
- const res = await axios . get < unknown > ( this . props . libreBaseUrl + `/api/ tenants` , {
13
+ const res = await axios . get < unknown > ( this . props . libreBaseUrl + `/tenants` , {
14
14
headers : {
15
15
Authorization : `Bearer ${ loginRes . access_token } `
16
16
}
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ export class UnityAuthServiceImpl
50
50
}
51
51
52
52
async login ( email : string , password : string ) : Promise < CompleteLoginResponse > {
53
- const res = await this . axiosInstance . post ( '/api/ login' , {
53
+ const res = await this . axiosInstance . post ( '/login' , {
54
54
username : email ,
55
55
password : password
56
56
} ) ;
You can’t perform that action at this time.
0 commit comments