1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gotosocial_ynh.git synced 2024-09-03 19:16:06 +02:00

fix variables

This commit is contained in:
OniriCorpe 2022-03-13 23:24:55 +01:00
parent e76ce0fc7e
commit 9fb6213490
2 changed files with 4 additions and 4 deletions

View file

@ -80,7 +80,7 @@
"default": false "default": false
}, },
{ {
"name": "registration-approval", "name": "registration_approval",
"type": "boolean", "type": "boolean",
"ask": { "ask": {
"en": "Registration approval?", "en": "Registration approval?",
@ -93,7 +93,7 @@
"default": true "default": true
}, },
{ {
"name": "registration-reason", "name": "registration_reason",
"type": "boolean", "type": "boolean",
"ask": { "ask": {
"en": "Request registration reason?", "en": "Request registration reason?",

View file

@ -29,8 +29,8 @@ admin=$YNH_APP_ARG_ADMIN
email=$YNH_APP_ARG_EMAIL email=$YNH_APP_ARG_EMAIL
password=$YNH_APP_ARG_PASSWORD password=$YNH_APP_ARG_PASSWORD
registration=$YNH_APP_ARG_REGISTRATION registration=$YNH_APP_ARG_REGISTRATION
registration-approval=$YNH_APP_ARG_REGISTRATION_APPROVAL registration_approval=$YNH_APP_ARG_REGISTRATION_APPROVAL
registration-reason=$YNH_APP_ARG_REGISTRATION_REASON registration_reason=$YNH_APP_ARG_REGISTRATION_REASON
### If it's a multi-instance app, meaning it can be installed several times independently ### 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 ### The id of the app as stated in the manifest is available as $YNH_APP_ID