fix: [opensem] remove the need to care about leading zeroes in rank

This commit is contained in:
Valentin Lab
2025-10-11 04:59:44 +02:00
parent 7868bbfa1e
commit af7c297ce9
2 changed files with 3 additions and 1 deletions

View File

@@ -22,6 +22,8 @@ hmac_key=$(relation-get hmac-key) || {
exit 1
}
rank=$(printf "%03d" "$rank")
[ -n "$test" ] && opensem:config-set PAYBOX_TEST "$test"
opensem:config-set PAYBOX_SITE "$site"
opensem:config-set PAYBOX_RANK "$rank"