Fix typos in config

This commit is contained in:
CodeShakingSheep 2023-09-13 11:23:41 +02:00 committed by GitHub
parent 5435af33b3
commit acb1558af0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,7 +68,7 @@ get__prices() {
#================================================= #=================================================
validate__publishable_key() { validate__publishable_key() {
# We can imagine here we test if the key is really a publisheable key # We can imagine here we test if the key is really a publishable key
(is_secret_key $publishable_key) && (is_secret_key $publishable_key) &&
echo 'This key seems to be a secret key' echo 'This key seems to be a secret key'
} }
@ -79,7 +79,7 @@ validate__publishable_key() {
set__prices() { set__prices() {
#--------------------------------------------- #---------------------------------------------
# IMPORTANT: setter are trigger only if a change is detected # IMPORTANT: setters are triggered only if a change is detected
#--------------------------------------------- #---------------------------------------------
for price in $(echo $prices | sed "s/,/ /"); do for price in $(echo $prices | sed "s/,/ /"); do
frequency=$(echo $price | cut -d/ -f1) frequency=$(echo $price | cut -d/ -f1)
@ -91,7 +91,7 @@ set__prices() {
done done
#--------------------------------------------- #---------------------------------------------
# IMPORTANT: to be able to upgrade properly, you have to saved the value in settings too # IMPORTANT: to be able to upgrade properly, you have to save the value in settings too
#--------------------------------------------- #---------------------------------------------
ynh_app_setting_set $app prices $prices ynh_app_setting_set $app prices $prices
} }