Major Backend Single Responsibility Update part 1

This commit is contained in:
X4Lo committed 2025-01-25 04:29:42 +01:00
1 parent 65177c7553
commit cbdffb21e3
41 files changed
+1723 -888

No files matched your search

@@ -66,8 +66,9 @@ export class EntryService {
// update entry
refrechEntryById(entryId: number) {
return this.http.get<Entry>(
`${this.backend_apiUrl}/${this.apiAction}/${entryId}/refresh`
return this.http.put<Entry>(
`${this.backend_apiUrl}/${this.apiAction}/${entryId}/refresh`,
{}
);
}
@@ -78,8 +79,9 @@ export class EntryService {
}
fetchEntryCollectionById(entryId: number) {
return this.http.get<any>(
`${this.backend_apiUrl}/${this.apiAction}/${entryId}/fetch-collection`
return this.http.put<any>(
`${this.backend_apiUrl}/${this.apiAction}/${entryId}/fetch-collection`,
{}
);
}