mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Integração dos eventos de agenda no Expediente
This commit is contained in:
@@ -33,4 +33,19 @@ export class AttachmentsService {
|
||||
|
||||
return this.http.get<Attachment[]>(`${geturl}`, options);
|
||||
}
|
||||
|
||||
getAttachments(source: number, sourceid: string): Observable<Attachment[]>{
|
||||
let geturl = environment.apiURL + 'attachments/GetAttachments';
|
||||
let params = new HttpParams();
|
||||
|
||||
params = params.set("Source", source.toString());
|
||||
params = params.set("SourceId", sourceid);
|
||||
|
||||
let options = {
|
||||
headers: this.headers,
|
||||
params: params
|
||||
};
|
||||
|
||||
return this.http.get<Attachment[]>(`${geturl}`, options);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user