aboutsummaryrefslogtreecommitdiff
path: root/routes/util.go
diff options
context:
space:
mode:
Diffstat (limited to 'routes/util.go')
-rw-r--r--routes/util.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/routes/util.go b/routes/util.go
index 37639c3..a38e969 100644
--- a/routes/util.go
+++ b/routes/util.go
@@ -4,6 +4,7 @@ import (
"fmt"
"strings"
+ "github.com/FChannel0/FChannel-Server/db"
"github.com/gofiber/fiber/v2"
)
@@ -22,7 +23,7 @@ func getPassword(r *fiber.Ctx) (string, string) {
sessionToken := c
- response, err := cache.Do("GET", sessionToken)
+ response, err := db.Cache.Do("GET", sessionToken)
if err != nil {
return "", ""
}