mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-03 05:09:58 -05:00
Moving config api endpoints to their own file..
This commit is contained in:
parent
fc084e2421
commit
376850ceeb
10 changed files with 190 additions and 139 deletions
|
|
@ -19,7 +19,7 @@ import {
|
|||
getVideo,
|
||||
getVideosStatistics,
|
||||
postImportConfig,
|
||||
postSaveConfig,
|
||||
postDumpConfig,
|
||||
saveSettings,
|
||||
searchArchives,
|
||||
searchChannels,
|
||||
|
|
@ -722,7 +722,7 @@ export const useConfigs = () => {
|
|||
|
||||
const saveConfig = async (fileName) => {
|
||||
try {
|
||||
await postSaveConfig(fileName);
|
||||
await postDumpConfig(fileName);
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue