mirror of
https://github.com/anyproto/anytype-heart.git
synced 2025-06-08 05:47:07 +09:00
GO-5434 Fix collection on MD import
This commit is contained in:
parent
bbfccd43f5
commit
4fa585db11
1 changed files with 0 additions and 8 deletions
|
@ -381,14 +381,6 @@ func (oc *ObjectCreator) resetState(newID string, st *state.State) *domain.Detai
|
|||
if err != nil {
|
||||
log.With(zap.String("object id", newID)).Errorf("failed to set state %s: %s", newID, err)
|
||||
}
|
||||
commonOperations, ok := b.(basic.CommonOperations)
|
||||
if !ok {
|
||||
return nil
|
||||
}
|
||||
err = commonOperations.FeaturedRelationAdd(nil, bundle.RelationKeyType.String())
|
||||
if err != nil {
|
||||
log.With(zap.String("object id", newID)).Errorf("failed to set featuredRelations %s: %s", newID, err)
|
||||
}
|
||||
respDetails = b.CombinedDetails()
|
||||
return nil
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue