fix(remnawave): serialize dict profile template before placeholder substitution
ansible-deploy / plan (push) Successful in 2s
ansible-lint / lint (push) Successful in 3s
ansible-deploy / deploy (core-net, ) (push) Successful in 19s

This commit is contained in:
karpenok committed 2026-11-18 13:50:34 +07:00
1 parent 0c308bf7fe
commit a772e8d808
1 file changed
+2
@@ -276,6 +276,8 @@ def ensure_profile_and_inbound(
raw_tpl = profile_templates.get(tpl_key)
if not raw_tpl:
raise RuntimeError(f"Не найден шаблон профиля {tpl_key}")
if isinstance(raw_tpl, dict):
raw_tpl = json.dumps(raw_tpl)
priv, _ = generate_x25519(api)
short_id = secrets.token_hex(8)