fix(api): update set_icecast_passwords StreamSetting fields (#2001)

This commit is contained in:
Jonas L 2022-07-26 23:24:13 +02:00 committed by GitHub
parent 94c64d2251
commit 57d1f3a953
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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},
)