diff options
author | KushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com> | 2021-11-02 16:10:57 -0300 |
---|---|---|
committer | FChannel <> | 2022-06-19 12:53:29 -0700 |
commit | bc9051fd1a17e793647cf309c973a7feefebd98f (patch) | |
tree | bf16a2176e9129c3921ef6743a6c22781e744064 /routes/util.go | |
parent | d80afd8a49f552c5dc51d8346d40809298fef11f (diff) |
down to the main package it seems
Diffstat (limited to 'routes/util.go')
-rw-r--r-- | routes/util.go | 3 |
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 "", "" } |