mirror of
https://github.com/anyproto/anytype-heart.git
synced 2025-06-10 01:51:07 +09:00
GO-1084: Fix by comment
This commit is contained in:
parent
b852b406de
commit
0409001d9f
1 changed files with 6 additions and 7 deletions
|
@ -137,14 +137,13 @@ func (s *service) IDsListerBySmartblockType(blockType smartblock.SmartBlockType)
|
|||
default:
|
||||
if err := blockType.Valid(); err != nil {
|
||||
return nil, err
|
||||
} else {
|
||||
return &source{
|
||||
smartblockType: blockType,
|
||||
coreService: s.coreService,
|
||||
spaceService: s.spaceService,
|
||||
sbtProvider: s.sbtProvider,
|
||||
}, nil
|
||||
}
|
||||
return &source{
|
||||
smartblockType: blockType,
|
||||
coreService: s.coreService,
|
||||
spaceService: s.spaceService,
|
||||
sbtProvider: s.sbtProvider,
|
||||
}, nil
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue