Skip to content

Commit

Permalink
Set memory as the default favorite manager
Browse files Browse the repository at this point in the history
  • Loading branch information
ishank011 committed Nov 12, 2021
1 parent f078091 commit 4a498f5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/http/services/owncloud/ocdav/ocdav.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ type Config struct {
func (c *Config) init() {
// note: default c.Prefix is an empty string
c.GatewaySvc = sharedconf.GetGatewaySVC(c.GatewaySvc)

if c.FavoriteStorageDriver == "" {
c.FavoriteStorageDriver = "memory"
}
}

type svc struct {
Expand Down

0 comments on commit 4a498f5

Please sign in to comment.