feat: add soft-delete functionality for categories, areas, and teams in Admin service
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user