diff --git a/manifest.json b/manifest.json index a6dfd4b..28a83dd 100644 --- a/manifest.json +++ b/manifest.json @@ -80,7 +80,7 @@ "default": false }, { - "name": "registration-approval", + "name": "registration_approval", "type": "boolean", "ask": { "en": "Registration approval?", @@ -93,7 +93,7 @@ "default": true }, { - "name": "registration-reason", + "name": "registration_reason", "type": "boolean", "ask": { "en": "Request registration reason?", diff --git a/scripts/install b/scripts/install index 3465ad7..3a19e23 100755 --- a/scripts/install +++ b/scripts/install @@ -29,8 +29,8 @@ admin=$YNH_APP_ARG_ADMIN email=$YNH_APP_ARG_EMAIL password=$YNH_APP_ARG_PASSWORD registration=$YNH_APP_ARG_REGISTRATION -registration-approval=$YNH_APP_ARG_REGISTRATION_APPROVAL -registration-reason=$YNH_APP_ARG_REGISTRATION_REASON +registration_approval=$YNH_APP_ARG_REGISTRATION_APPROVAL +registration_reason=$YNH_APP_ARG_REGISTRATION_REASON ### If it's a multi-instance app, meaning it can be installed several times independently ### The id of the app as stated in the manifest is available as $YNH_APP_ID