🎨 Improve rename doc push message

This commit is contained in:
Daniel 2024-03-18 21:02:40 +08:00
parent 1e36fbf241
commit 426225af96
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
9 changed files with 25 additions and 10 deletions

View file

@ -1228,7 +1228,7 @@ func batchUpdateHPath(tx *sql.Tx, boxID, rootID, newHPath string, context map[st
}
ClearCache()
evtHash := fmt.Sprintf("%x", sha256.Sum256([]byte(rootID)))[:7]
eventbus.Publish(eventbus.EvtSQLInsertBlocksFTS, context, 1, evtHash)
eventbus.Publish(eventbus.EvtSQLUpdateBlocksHPaths, context, 1, evtHash)
return
}