redis fixes

This commit is contained in:
Fosco Marotto
2021-01-16 14:43:11 -05:00
parent 1214b0664c
commit 2cdce808a3
3 changed files with 22 additions and 17 deletions

View File

@@ -3,6 +3,7 @@
class Api::V1::TrendingHashtagsController < EmptyController
def show
tags = ""
Redis.current.with do |conn|
tags = conn.get("admin_trending_hashtags") || ""
end