Aw6020 Itemtype = optional

This commit is contained in:
Peter Bastiani 2024-08-20 10:51:21 +02:00
parent 0ed342404e
commit 26ca9be4e7

View File

@ -22,8 +22,8 @@ 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[]> { getMyRoot(): Observable<IListItem> {
return this.httpClient.get<IListItem[]>(`${this.ApiEndpoint()}/api/v1/folders/my_root`); return this.httpClient.get<IListItem>(`${this.ApiEndpoint()}/api/v1/folders/my_root`);
} }
getMyRoots(): Observable<IListItem[]> { getMyRoots(): Observable<IListItem[]> {