Re-design of login page.

This commit is contained in:
Florian THIERRY
2024-06-06 11:05:02 +02:00
parent e5076f0c64
commit 95d5308934
8 changed files with 221 additions and 12 deletions

View File

@@ -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}`));
}
}