From 57d1f3a953554fbc8346d3b245853544be2402f5 Mon Sep 17 00:00:00 2001 From: Jonas L Date: Tue, 26 Jul 2022 23:24:13 +0200 Subject: [PATCH] fix(api): update set_icecast_passwords StreamSetting fields (#2001) --- .../legacy/management/commands/set_icecast_passwords.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/libretime_api/legacy/management/commands/set_icecast_passwords.py b/api/libretime_api/legacy/management/commands/set_icecast_passwords.py index 6b63c0e2d..38b22c733 100644 --- a/api/libretime_api/legacy/management/commands/set_icecast_passwords.py +++ b/api/libretime_api/legacy/management/commands/set_icecast_passwords.py @@ -67,10 +67,10 @@ class Command(BaseCommand): if admin_password is not None: StreamSetting.objects.update_or_create( key=f"{key}_admin_pass", - defaults={"value": admin_password}, + defaults={"raw_value": admin_password}, ) if source_password is not None: StreamSetting.objects.update_or_create( key=f"{key}_pass", - defaults={"value": source_password}, + defaults={"raw_value": source_password}, )