mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Edit event to aprove
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Event } from '../models/event.model';
|
||||
import { Event, EventToApproveEdit } from '../models/event.model';
|
||||
import { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';
|
||||
import { Observable } from 'rxjs';
|
||||
import { environment } from 'src/environments/environment';
|
||||
@@ -223,4 +223,14 @@ export class EventsService {
|
||||
console.log(res);
|
||||
});
|
||||
}
|
||||
|
||||
postEventToApproveEdit(body: EventToApproveEdit) {
|
||||
const geturl = environment.apiURL + 'Tasks/EditEventTask';
|
||||
|
||||
let options = {
|
||||
headers: this.headers,
|
||||
};
|
||||
|
||||
return this.http.post<any>(`${geturl}`, body, options)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user