small fixes

This commit is contained in:
Laptop
2025-01-01 12:36:56 +02:00
parent 47fb96fdda
commit c71b890143
5 changed files with 9 additions and 11 deletions

View File

@@ -93,7 +93,7 @@ type Export struct {
Preferences *cfg.Preferences `json:",omitempty"`
}
func Load(r fiber.Router) {
func Load(r *fiber.App) {
r.Get("/_/preferences", func(c fiber.Ctx) error {
p, err := Get(c)
if err != nil {