diff options
Diffstat (limited to 'server/lib/redis.ts')
-rw-r--r-- | server/lib/redis.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/redis.ts b/server/lib/redis.ts index b86aefa0e..f9cea57cd 100644 --- a/server/lib/redis.ts +++ b/server/lib/redis.ts | |||
@@ -146,7 +146,7 @@ class Redis { | |||
146 | } | 146 | } |
147 | 147 | ||
148 | setIPVideoViewer (ip: string, videoUUID: string) { | 148 | setIPVideoViewer (ip: string, videoUUID: string) { |
149 | return this.setValue(this.generateIPViewerKey(ip, videoUUID), '1', VIEW_LIFETIME.VIEWER) | 149 | return this.setValue(this.generateIPViewerKey(ip, videoUUID), '1', VIEW_LIFETIME.VIEWER_COUNTER) |
150 | } | 150 | } |
151 | 151 | ||
152 | async doesVideoIPViewExist (ip: string, videoUUID: string) { | 152 | async doesVideoIPViewExist (ip: string, videoUUID: string) { |