1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-11 02:13:41 +09:00

fix knowledge_base.zip

replace empty file key
This commit is contained in:
Roman Khafizianov 2023-06-29 20:38:18 +02:00
parent 1a1a74e823
commit 83d0de36eb
No known key found for this signature in database
GPG key ID: F07A7D55A2684852
2 changed files with 1 additions and 1 deletions

View file

@ -191,7 +191,7 @@ func getRelationLinkByKey(links []*model.RelationLink, key string) *model.Relati
func snapshotHasKeyForHash(s *pb.ChangeSnapshot, hash string) bool {
for _, k := range s.FileKeys {
if k.Hash == hash {
if k.Hash == hash && len(k.Keys) > 0 {
return true
}
}