mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-04 19:34:35 -05:00
export extensions
This commit is contained in:
@@ -121,6 +121,8 @@ object LegacyBackupExport {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO the rest
|
||||
|
||||
return entry
|
||||
}
|
||||
|
||||
@@ -130,8 +132,8 @@ object LegacyBackupExport {
|
||||
}
|
||||
|
||||
private fun backupExtensionInfo(root: JsonArray, extensions: Set<String>) { // TODO
|
||||
// extensions.sorted().forEach {
|
||||
// root.add(it)
|
||||
// }
|
||||
extensions.sorted().forEach {
|
||||
root.add(it)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -327,7 +327,7 @@ object JavalinSetup {
|
||||
|
||||
// expects a Tachiyomi legacy backup file to be uploaded
|
||||
app.get("/api/v1/backup/legacy/import") { ctx ->
|
||||
// TODO
|
||||
TODO()
|
||||
}
|
||||
|
||||
// returns a Tachiyomi legacy backup file created from the current database
|
||||
|
||||
Reference in New Issue
Block a user