This commit is contained in:
Râu Cao 2023-07-14 15:28:45 +02:00
parent b0bfc290c4
commit 12b24337e7

View File

@ -49,7 +49,8 @@ class RemoteStorageAuthorization < ApplicationRecord
def schedule_token_expiry def schedule_token_expiry
return unless expire_at.present? return unless expire_at.present?
ExpireRemoteStorageAuthorizationJob.set(wait_unil: expire_at).perform_later(id) RemoteStorageExpireAuthorizationJob.set(wait_until: expire_at)
.perform_later(id)
end end
def remove_token_expiry_job def remove_token_expiry_job