mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
add contact page
This commit is contained in:
+2
-2
@@ -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' });
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user