1
0
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:
Daggertooth 2017-10-13 01:23:54 -05:00 committed by wxcafé
parent b94b4970ff
commit afa7c148f0

View File

@ -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