Major Backend Single Responsibility Update part 1
This commit is contained in:
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`,
|
||||
{}
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 32 KiB |
@@ -4,9 +4,9 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Showy</title>
|
||||
<base href="./">
|
||||
<base href="/" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
||||
<link rel="icon" type="image/x-icon" href="favicon.png">
|
||||
|
||||
<link rel="stylesheet"
|
||||
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
|
||||
|
||||
Reference in new issue
Block a user