Skip to content

Commit

Permalink
Bugfix redis compress
Browse files Browse the repository at this point in the history
  • Loading branch information
0to1a committed Dec 9, 2021
1 parent 71fd472 commit 4d4fbad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/database/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func RedisCacheSetCompress(urlPath string, payload string, timeInMinutes int, da

str := base64.StdEncoding.EncodeToString(b.Bytes())

return RedisCacheSetCompress(urlPath, payload, timeInMinutes, str)
return RedisCacheSet(urlPath, payload, timeInMinutes, str)
}

func RedisCacheGet(urlPath string, payload string) (bool, string) {
Expand Down

0 comments on commit 4d4fbad

Please sign in to comment.