Skip to content

Commit e04c52a

Browse files
committed
Add bin/admin/ban-user command
1 parent d7e5120 commit e04c52a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bin/admin/ban-user

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
heroku run -a kitsu-api-production bin/rails runner "(User.find_by(id: '$@') || User.by_slug('$@').first).add_role(:banned)"

0 commit comments

Comments
 (0)