Aw6020 Add my_root
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good Details

develop
Peter Bastiani 2024-08-20 10:43:57 +02:00
parent 7544203202
commit f71d0fe256
1 changed files with 27 additions and 23 deletions

View File

@ -22,6 +22,10 @@ export class FolderService {
return this.httpClient.get<IListItem>(`${this.ApiEndpoint()}/api/v1/folders/${code}`); return this.httpClient.get<IListItem>(`${this.ApiEndpoint()}/api/v1/folders/${code}`);
} }
getMyRoot(): Observable<IListItem[]> {
return this.httpClient.get<IListItem[]>(`${this.ApiEndpoint()}/api/v1/folders/my_root`);
}
getMyRoots(): Observable<IListItem[]> { getMyRoots(): Observable<IListItem[]> {
return this.httpClient.get<IListItem[]>(`${this.ApiEndpoint()}/api/v1/folders/my_roots`); return this.httpClient.get<IListItem[]>(`${this.ApiEndpoint()}/api/v1/folders/my_roots`);
} }