feat: add soft-delete functionality for categories, areas, and teams in Admin service

This commit is contained in:
gabdevele
2026-06-15 15:10:52 +02:00 Unverified
parent aab7420706
commit bf85168914
8 changed files with 262 additions and 0 deletions
+3
View File
@@ -24,6 +24,9 @@ class AdminService
Json::Value updateModeration(const auth::UserContext &user,
long long flagId,
const Json::Value &body);
Json::Value deleteCategory(const auth::UserContext &user, long long categoryId);
Json::Value deleteArea(const auth::UserContext &user, long long areaId);
Json::Value deleteTeam(const auth::UserContext &user, long long teamId);
Json::Value updateCategory(const auth::UserContext &user,
long long categoryId,
const Json::Value &body);