mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
Merge branch 'developer' of https://bitbucket.org/equilibriumito/gabinete-digital into developer
This commit is contained in:
@@ -5,6 +5,7 @@ import { AuthService } from '../services/auth.service';
|
||||
import { User } from '../models/user.model';
|
||||
import { Observable, throwError } from 'rxjs';
|
||||
import { catchError } from 'rxjs/operators'
|
||||
import { Publication } from '../models/publication';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
@@ -38,7 +39,7 @@ export class PublicationsService {
|
||||
return this.http.get<any>(`${geturl}`, options);
|
||||
}
|
||||
|
||||
UpdatePresidentialAction(body:any){
|
||||
UpdatePresidentialAction(body:any) {
|
||||
const geturl = environment.apiURL + 'presidentialActions';
|
||||
|
||||
let options = {
|
||||
@@ -86,7 +87,7 @@ export class PublicationsService {
|
||||
headers: this.headers,
|
||||
params: params
|
||||
};
|
||||
return this.http.get<any>(`${geturl}`, options)
|
||||
return this.http.get<Publication[]>(`${geturl}`, options)
|
||||
}
|
||||
|
||||
GetPublicationById( publicationId:any){
|
||||
|
||||
Reference in New Issue
Block a user