Re-nullify chubbies output and correctly handle diaspora_id param in create_account
This commit is contained in:
parent
76b0f31020
commit
c95f80be42
2 changed files with 2 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ class Chubbies
|
|||
end
|
||||
|
||||
def self.nullify
|
||||
# "2> /dev/null > /dev/null"
|
||||
"2> /dev/null > /dev/null"
|
||||
end
|
||||
|
||||
def self.kill
|
||||
|
|
|
|||
|
|
@ -76,6 +76,7 @@ module Chubbies
|
|||
User
|
||||
end
|
||||
def create_account(hash)
|
||||
hash[:username] = hash.delete(:diaspora_id)
|
||||
account_const.create(hash)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue