]> cat aescling's git repositories - mastodon.git/commit
Fix confusing error when failing to add an alias to an unknown account (#13480)
authorThibG <thib@sitedethib.com>
Wed, 15 Apr 2020 18:33:53 +0000 (20:33 +0200)
committerGitHub <noreply@github.com>
Wed, 15 Apr 2020 18:33:53 +0000 (20:33 +0200)
commit3825e1943f3e870ffe967f01d6ca4345d69f1a12
tree7919a3873bbb3650f380674af55a5d7cf482b3a0
parent5edff32733eff2cbffbf614b31eea85da8dc3aaf
Fix confusing error when failing to add an alias to an unknown account (#13480)

Follow-up to #13452, fixing broken `uri.nil?` test.

Also remove the separate check for `uri` presence, as that would result
in a “Please review 2 errors below” while only one would be listed.
app/models/account_alias.rb