aboutsummaryrefslogtreecommitdiff
path: root/internal/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cmd')
-rw-r--r--internal/cmd/admin.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/cmd/admin.go b/internal/cmd/admin.go
index 54a4a254..8f40bf1c 100644
--- a/internal/cmd/admin.go
+++ b/internal/cmd/admin.go
@@ -52,8 +52,8 @@ to make automatic initialization process more smoothly`,
Name: "delete-inactive-users",
Usage: "Delete all inactive accounts",
Action: adminDashboardOperation(
- db.DeleteInactivateUsers,
- "All inactivate accounts have been deleted successfully",
+ func() error { return db.Users.DeleteInactivated() },
+ "All inactivated accounts have been deleted successfully",
),
Flags: []cli.Flag{
stringFlag("config, c", "", "Custom configuration file path"),