From fe6e7bc3648c820812bd204038a8772b0e8b5f7b Mon Sep 17 00:00:00 2001 From: Kay0u Date: Wed, 15 Sep 2021 16:34:50 +0200 Subject: [PATCH] update_attributes is now update --- scripts/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/config b/scripts/config index 025538b..78b5566 100644 --- a/scripts/config +++ b/scripts/config @@ -27,7 +27,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) set__use_web_account() { if [ -n "${use_web_account}" ] then - echo "ApplicationSetting.last.update_attributes(password_authentication_enabled_for_web: $use_web_account, signup_enabled: $use_web_account)" | gitlab-rails console + echo "ApplicationSetting.last.update(password_authentication_enabled_for_web: $use_web_account, signup_enabled: $use_web_account)" | gitlab-rails console # Update the config of the app ynh_app_setting_set --app=$app --key=use_web_account --value=$use_web_account