浏览代码

fix(category): invoke refreshTagsMetadata after category creation

Dave 1 月之前
父节点
当前提交
07d339bd48
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      apps/box-mgnt-api/src/mgnt-backend/feature/category/category.service.ts

+ 2 - 0
apps/box-mgnt-api/src/mgnt-backend/feature/category/category.service.ts

@@ -134,6 +134,8 @@ export class CategoryService {
         data,
       });
 
+      await this.refreshTagsMetadata(category.id);
+
       // Schedule cache sync actions
       // Refresh category-with-tags for this category
       await this.cacheSyncService.scheduleAction({