diff options
Diffstat (limited to 'server/lib/redis.ts')
-rw-r--r-- | server/lib/redis.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/redis.ts b/server/lib/redis.ts index 3628c0583..d85dbe2b5 100644 --- a/server/lib/redis.ts +++ b/server/lib/redis.ts | |||
@@ -88,7 +88,7 @@ class Redis { | |||
88 | return this.setValue(this.generateContactFormKey(ip), '1', CONTACT_FORM_LIFETIME) | 88 | return this.setValue(this.generateContactFormKey(ip), '1', CONTACT_FORM_LIFETIME) |
89 | } | 89 | } |
90 | 90 | ||
91 | async isContactFormIpExists (ip: string) { | 91 | async doesContactFormIpExist (ip: string) { |
92 | return this.exists(this.generateContactFormKey(ip)) | 92 | return this.exists(this.generateContactFormKey(ip)) |
93 | } | 93 | } |
94 | 94 | ||
@@ -98,7 +98,7 @@ class Redis { | |||
98 | return this.setValue(this.generateViewKey(ip, videoUUID), '1', VIDEO_VIEW_LIFETIME) | 98 | return this.setValue(this.generateViewKey(ip, videoUUID), '1', VIDEO_VIEW_LIFETIME) |
99 | } | 99 | } |
100 | 100 | ||
101 | async isVideoIPViewExists (ip: string, videoUUID: string) { | 101 | async doesVideoIPViewExist (ip: string, videoUUID: string) { |
102 | return this.exists(this.generateViewKey(ip, videoUUID)) | 102 | return this.exists(this.generateViewKey(ip, videoUUID)) |
103 | } | 103 | } |
104 | 104 | ||