Re-design of login page.
This commit is contained in:
@@ -12,4 +12,8 @@ export class PublicationRestService {
|
||||
getLatest(): Promise<Publication[]> {
|
||||
return lastValueFrom(this.httpClient.get<Publication[]>('/api/publications/latest'));
|
||||
}
|
||||
|
||||
getById(publicationId: string): Promise<Publication> {
|
||||
return lastValueFrom(this.httpClient.get<Publication>(`/api/publications/${publicationId}`));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user