[+] Implement upload and download backup

This commit is contained in:
Hykilpikonna
2021-01-25 23:00:53 -05:00
parent f1b8b794d3
commit b263824429
3 changed files with 45 additions and 5 deletions
+2 -2
View File
@@ -85,7 +85,7 @@ class APIs
## Returns
Success or error
*/
static let uploadConfig = API<String>(loc: "/backup/upload")
static let uploadConfig = API<String>(loc: "/user/backup/upload")
/**
Download the config from the cloud.
@@ -96,7 +96,7 @@ class APIs
## Returns
Config Json
*/
static let downloadConfig = API<String>(loc: "/backup/download")
static let downloadConfig = API<String>(loc: "/user/backup/download")
/**
Get family info for this account