feat: ban-user command (#1121)

* feat: ban-user command

* clean up code

* added duration

* fix(package-lock) revert commit
This commit is contained in:
Marco Beretta 2023-11-04 16:38:58 +01:00 committed by GitHub
parent 34148885b7
commit a7b5639da1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 102 additions and 1 deletions

View file

@ -25,6 +25,7 @@
"stop:deployed": "docker-compose -f ./deploy-compose.yml down",
"upgrade": "node config/upgrade.js",
"create-user": "node config/create-user.js",
"ban-user": "node config/ban-user.js",
"backend": "cross-env NODE_ENV=production node api/server/index.js",
"backend:dev": "cross-env NODE_ENV=development npx nodemon api/server/index.js",
"backend:stop": "node config/stop-backend.js",