add contact page

This commit is contained in:
Peter Maquiran
2024-08-16 17:17:32 +01:00
parent 6072a2456b
commit 9d441a3e5b
10 changed files with 241 additions and 252 deletions
@@ -14,8 +14,8 @@ export class AttachmentRemoteDataSourceService {
private httpService: HttpService
) { }
async getAttachment(Input: MessageAttachmentByMessageIdInput): DataSourceReturn<Blob> {
return await this.httpService.get(`${this.baseUrl}/attachment/${Input.id}`, { responseType: 'blob' });
async getAttachment(id: string | number): DataSourceReturn<Blob> {
return await this.httpService.get(`${this.baseUrl}/attachment/${id}`, { responseType: 'blob' });
}
}