Merge pull request #260 from YunoHost/maindomain_ux_feedback

[mod] rename parameters according to changes in cli/core for ux
This commit is contained in:
Alexandre Aubin 2019-11-04 22:18:30 +01:00 committed by GitHub
commit dd3cc0c5fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -306,7 +306,7 @@
y18n.t('confirm_change_maindomain'), y18n.t('confirm_change_maindomain'),
function(){ function(){
var params = { var params = {
new_domain: c.params['domain'] new_main_domain: c.params['domain']
}; };
c.api('/domains/main', function(data) { // http://api.yunohost.org/#!/tools/tools_maindomain_put_1 c.api('/domains/main', function(data) { // http://api.yunohost.org/#!/tools/tools_maindomain_put_1
store.clear('slide'); store.clear('slide');