mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-17 22:42:22 +08:00
Fix conflicts in asset sync caused by preview generation [SCI-9935]
This commit is contained in:
parent
e360113838
commit
78747911b7
1 changed files with 1 additions and 1 deletions
|
|
@ -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?
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue