mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-06 15:40:31 +08:00
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:
commit
30d0213799
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…
Reference in a new issue