From cb0d1ec37f86df8ce0d3cf842fb7102b2e000d1d Mon Sep 17 00:00:00 2001 From: j Date: Sun, 15 Jul 2018 00:38:08 +0200 Subject: [PATCH] json->cache --- pandora/app/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/app/views.py b/pandora/app/views.py index 25aae394..c0da9ede 100644 --- a/pandora/app/views.py +++ b/pandora/app/views.py @@ -247,7 +247,7 @@ def getEmbedDefaults(request, data): level = settings.CONFIG['capabilities']['canSeeItem']['guest'] qs = Item.objects.filter(level__lte=level, rendered=True).order_by('sort__public_id') if qs.exists(): - i = qs[0].json + i = qs[0].cache response['data']['item'] = i['id'] response['data']['itemDuration'] = i['duration'] response['data']['itemRatio'] = i['videoRatio']