1
0
Fork 0
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:
Sergey 2023-04-25 18:17:59 +02:00 committed by Mikhail Iudin
parent b852b406de
commit 0409001d9f
No known key found for this signature in database
GPG key ID: FAAAA8BAABDFF1C0

View file

@ -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
}
}