Skip to content

Commit

Permalink
style: rollback some part of auth and storage
Browse files Browse the repository at this point in the history
  • Loading branch information
lovehunter9 committed Feb 27, 2025
1 parent 7f18309 commit 31ef545
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/backend/cmd/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package cmd
import (
"fmt"
"github.com/asdine/storm/v3"
"github.com/filebrowser/filebrowser/v2/storage/bolt"
"github.com/spf13/cobra"
"log"
"os"
Expand Down Expand Up @@ -76,8 +77,8 @@ func python(fn pythonFunc, cfg pythonConfig) cobraFunc {
db, err := storm.Open(path)
checkErr(err)
defer db.Close()
//data.store, err = bolt.NewStorage(db)
//checkErr(err)
data.store, err = bolt.NewStorage(db)
checkErr(err)
fn(cmd, args, data)
}
}
Expand Down

0 comments on commit 31ef545

Please sign in to comment.