diff options
author | elijah <elijah@riseup.net> | 2013-09-21 16:52:55 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-09-21 16:52:55 -0700 |
commit | d8b9ab39d333de6494e5006b3ba4abf4b8901bca (patch) | |
tree | 96ab672b90c6399116b5d643c036eecec14b218f /provider_base/provider.json | |
parent | 5e582cbf9e2cd135009965433b4cd2a7747732ed (diff) |
ensure that contacts.default is an array, and is required (requires latest leap_cli).
Diffstat (limited to 'provider_base/provider.json')
-rw-r--r-- | provider_base/provider.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/provider_base/provider.json b/provider_base/provider.json index 84ef640e..5b335e8a 100644 --- a/provider_base/provider.json +++ b/provider_base/provider.json @@ -8,8 +8,8 @@ "en": "REQUIRED" }, "contacts": { - "default": "REQUIRED", - "english": "= contacts.default.split('@').join(' at the domain ')" + "default": ["REQUIRED"], + "english": "= contacts.default.map {|email| email.split('@').join(' at the domain ')}.join(', ')" }, "languages": ["en"], "default_language": "en", |