This commit is contained in:
X4Lo committed 2025-01-14 17:56:02 +01:00
1 parent 289dc98042
commit 65177c7553
18 files changed
+156 -203

No files matched your search

@@ -6,6 +6,7 @@ import { EntryId } from '../../shared/models/entryId.model';
import { EntryRating } from '../../shared/models/entry-rating.model';
import { environment } from '../../../environments/environment.prod';
import { Media } from '../../shared/models/media.model';
import { LibraryService } from './library.service';
@Injectable({
providedIn: 'root',
@@ -14,7 +15,10 @@ export class EntryService {
private backend_apiUrl = environment.API_URL;
private apiAction = 'entries';
constructor(private http: HttpClient) {}
constructor(
private http: HttpClient,
private libraryService: LibraryService
) {}
// get entries
getEntries(): Observable<Entry[]> {