Spaces:
Building
Building
Update flare-ui/src/app/components/test/test.component.ts
Browse files
flare-ui/src/app/components/test/test.component.ts
CHANGED
@@ -164,7 +164,7 @@ export class TestComponent implements OnInit, OnDestroy {
|
|
164 |
});
|
165 |
} else {
|
166 |
// Login with test credentials
|
167 |
-
this.http.post('/api/login', {
|
168 |
username: 'admin',
|
169 |
password: 'admin'
|
170 |
}).pipe(takeUntil(this.destroyed$))
|
|
|
164 |
});
|
165 |
} else {
|
166 |
// Login with test credentials
|
167 |
+
this.http.post('/api/admin/login', {
|
168 |
username: 'admin',
|
169 |
password: 'admin'
|
170 |
}).pipe(takeUntil(this.destroyed$))
|