@ -96,7 +96,7 @@ export class AttachmentsResourceService {
*
* @param key the collection key
*/
all(key:string):Observable<IAttachment[]> {
collection(key:string):Observable<IAttachment[]> {
return this.query
.select()
.pipe(
@ -42,7 +42,7 @@ export function workPackageFilesCount(
return combineLatest(
[
attachmentService.all(workPackage.$links.attachments.href || ''),
attachmentService.collection(workPackage.$links.attachments.href || ''),
fileLinkService.all(workPackage.$links.fileLinks?.href || ''),
],
).pipe(