fix: Resolve the issue of missing tags in the synchronized app store (#9913)

This commit is contained in:
CityFun
2025-08-08 16:59:35 +08:00
committed by GitHub
parent c12bab477c
commit c2ad006a19
+1 -1
View File
@@ -1075,7 +1075,7 @@ func (a AppService) SyncAppListFromRemote(taskID string) (err error) {
tagId, ok := tagMap[tag]
if ok {
exist, _ := appTagRepo.GetFirst(ctx, appTagRepo.WithByTagID(tagId), appTagRepo.WithByAppID(app.ID))
if exist != nil {
if exist == nil {
appTags = append(appTags, &model.AppTag{
AppId: app.ID,
TagId: tagId,