Fix: Rebase url error, double slash before date
This commit is contained in:
parent
eb22eace69
commit
1984c1fc90
@ -54,7 +54,7 @@ export class SettingsService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
rebaseDatabase(date: string): Observable<boolean> {
|
rebaseDatabase(date: string): Observable<boolean> {
|
||||||
const url = '/api/Rebase/';
|
const url = '/api/Rebase';
|
||||||
return <Observable<any>>this.http.post<any>(`${url}/${date}`, {})
|
return <Observable<any>>this.http.post<any>(`${url}/${date}`, {})
|
||||||
.pipe(
|
.pipe(
|
||||||
catchError(this.log.handleError(serviceName, `rebaseDatabase`))
|
catchError(this.log.handleError(serviceName, `rebaseDatabase`))
|
||||||
|
Loading…
Reference in New Issue
Block a user