This commit is contained in:
parent
fdb713b76d
commit
dfe56d9f75
|
@ -71,6 +71,6 @@ class Api::V1::Users::UpdateEmailService < ApplicationService
|
||||||
end
|
end
|
||||||
|
|
||||||
def remove_old_cache_for_user
|
def remove_old_cache_for_user
|
||||||
$redis_cache.hdel("v2-owner-common:#{@user.login}-#{@old_mail}")
|
$redis_cache.del("v2-owner-common:#{@user.login}-#{@old_mail}")
|
||||||
end
|
end
|
||||||
end
|
end
|
Loading…
Reference in New Issue