]> git.parisson.com Git - teleforma.git/commitdiff
fix http
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Mon, 23 Jun 2025 14:45:09 +0000 (16:45 +0200)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Mon, 23 Jun 2025 14:45:09 +0000 (16:45 +0200)
teleforma/webclass/models.py

index 844888b5271f99c94b67c37295487eab4ce440b8..dd95744d8d702df6de73f75102c755c80b1aaf88 100644 (file)
@@ -71,7 +71,7 @@ def get_records_from_bbb(**kwargs):
             preview = ""
             images = format.get('preview', {}).get('images', {})
             if images:
-                preview = str(images.get('image', ''))
+                preview = str(images.get('image', '')).replace("http://", "https://")
             data = {
                 'id': str(recording['recordID']),
                 'server_id': server.id,