1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-07 21:37:04 +09:00

Merge pull request #1005 from anyproto/go-3066-fix-file-deleting

GO-3066: Fix file deleting bug
This commit is contained in:
Sergey 2024-03-15 12:50:19 +01:00 committed by GitHub
commit b4469b61b3
Signed by: github
GPG key ID: B5690EEEBB952194

View file

@ -586,7 +586,8 @@ func (s *service) DeleteFileData(objectId string) error {
},
{
RelationKey: bundle.RelationKeyFileId.String(),
Condition: model.BlockContentDataviewFilter_NotEmpty,
Condition: model.BlockContentDataviewFilter_Equal,
Value: pbtypes.String(fullId.FileId.String()),
},
},
})