mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
move Settings and Viewed to separate json files
This commit is contained in:
@@ -15,7 +15,7 @@ type TDB struct {
|
||||
db *bolt.DB
|
||||
}
|
||||
|
||||
func NewTDB() *TDB {
|
||||
func NewTDB() TorrServerDB {
|
||||
db, err := bolt.Open(filepath.Join(Path, "config.db"), 0o666, &bolt.Options{Timeout: 5 * time.Second})
|
||||
if err != nil {
|
||||
log.TLogln(err)
|
||||
|
||||
Reference in New Issue
Block a user