diff --git a/app/models/asset_sync_token.rb b/app/models/asset_sync_token.rb index 0729fb7c9..5b80255aa 100644 --- a/app/models/asset_sync_token.rb +++ b/app/models/asset_sync_token.rb @@ -10,7 +10,7 @@ class AssetSyncToken < ApplicationRecord validates :token, uniqueness: true, presence: true def version_token - asset.updated_at.to_i.to_s + asset.file.checksum end def token_valid?