Browse Source

Fix approved column being set to nil instead of false (#10642)

Fix https://github.com/tootsuite/mastodon/pull/10621#issuecomment-487316619
pull/4/head
Eugen Rochko 5 years ago
committed by GitHub
parent
commit
e18786dec7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/models/user.rb

+ 1
- 1
app/models/user.rb View File

@ -282,7 +282,7 @@ class User < ApplicationRecord
end
def external?
@external
!!@external
end
def sanitize_languages

Loading…
Cancel
Save