Skip to content

Commit

Permalink
hotfix: enable cache again
Browse files Browse the repository at this point in the history
  • Loading branch information
ySnoopyDogy committed Nov 2, 2023
1 parent 27bdf8c commit 87a304e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/database/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
func (db *Database) GetCachedProfileImage(userId, profileString string) (string, error) {
ctx, finishCtx := RedisContext()

res, err := db.Client.Get(ctx, "profile:"+userId+":hashs").Result()
res, err := db.Client.Get(ctx, "profile:"+userId+":hash").Result()
finishCtx()

if err != nil {
Expand Down

0 comments on commit 87a304e

Please sign in to comment.