Merge pull request #6878 from artoscinote/ma_SCI_9935

Fix conflicts in asset sync caused by preview generation [SCI-9935]
This commit is contained in:
Martin Artnik 2024-01-04 13:35:04 +01:00 committed by GitHub
commit 30d0213799
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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?