You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2019/03/24 22:41:47 UTC
[whimsy] branch master updated: Typo - attribute uses hyphen
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 9556109 Typo - attribute uses hyphen
9556109 is described below
commit 9556109d166da2ec2ba0585faaf3201b786518a5
Author: Sebb <se...@apache.org>
AuthorDate: Sun Mar 24 22:41:38 2019 +0000
Typo - attribute uses hyphen
---
www/roster/views/actions/email_alt.json.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/www/roster/views/actions/email_alt.json.rb b/www/roster/views/actions/email_alt.json.rb
index 7266226..087c385 100644
--- a/www/roster/views/actions/email_alt.json.rb
+++ b/www/roster/views/actions/email_alt.json.rb
@@ -5,7 +5,7 @@
person = ASF::Person.find(@userid)
# report the previous value in the response
-_previous alt_email: person.attrs['alt_email']
+_previous alt_email: person.attrs['alt-email']
if @email_alt # must agree with email_alt.js.rb
@@ -26,7 +26,7 @@ if @email_alt # must agree with email_alt.js.rb
# update LDAP
unless @dryrun
_ldap.update do
- person.modify 'alt_email', @email_alt
+ person.modify 'alt-email', @email_alt
end
end
end