mirror of
https://github.com/mastodon/documentation
synced 2025-04-11 22:56:17 +02:00
Correct 'null' to 'nil' in reactivation section (#422)
Replaced this 'null' with a 'nil' so Ruby won't throw a NameError.
This commit is contained in:
parent
b94b4970ff
commit
afa7c148f0
@ -70,7 +70,7 @@ Additionally you can toggle the "reject media" option. When enabled, media files
|
||||
## Reactivating a previously deleted user
|
||||
|
||||
RAILS_ENV=production bundle exec rails c
|
||||
account = Account.find_by(username: 'username', domain: null)
|
||||
account = Account.find_by(username: 'username', domain: nil)
|
||||
account.suspended = false
|
||||
user = User.create!(email: 'email', password: 'password', account: account)
|
||||
user.confirm
|
||||
|
Loading…
x
Reference in New Issue
Block a user