1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-10 18:10:49 +09:00

GO-4670 Delete rel from map

This commit is contained in:
kirillston 2024-12-11 15:03:31 +01:00
parent f1e5c4a002
commit f927c6a7eb
No known key found for this signature in database
GPG key ID: BE4BF014F0ECDFE8

View file

@ -257,7 +257,7 @@ func (s *service) prepareDetailsForInstallingObject(
details.Fields[bundle.RelationKeyIsReadonly.String()] = pbtypes.Bool(false)
// we should delete old createdDate as it belongs to source object from marketplace
details.Fields[bundle.RelationKeyCreatedDate.String()] = pbtypes.Int64(0)
delete(details.Fields, bundle.RelationKeyCreatedDate.String())
if isNewSpace {
lastused.SetLastUsedDateForInitialObjectType(sourceId, details)