diff --git a/modules/smithy/module.go b/modules/smithy/module.go index b1eb5af62..008fdadbe 100644 --- a/modules/smithy/module.go +++ b/modules/smithy/module.go @@ -107,12 +107,11 @@ func (this *Smithy) CheckActivateAtlasCollect(uid string, id string) { } } } else { - if list, err := this.modelAtlas.getSmithyAtlasList(uid); err == nil { if _, ok := list.Collect[id]; !ok { list.Collect[id] = &pb.CollectData{ Id: id, - Score: 0, + Score: atlasConf.AtlasScore, Time: configure.Now().Unix(), Activate: false, }