mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-23 13:36:35 +00:00
Use the new copy argument to filter_response
This commit is contained in:
parent
274f19fa15
commit
1ff8dfda98
@ -1154,7 +1154,7 @@ class Media(models.Model):
|
||||
data = json.loads(self.metadata or "")
|
||||
compact_json = json.dumps(data, separators=(',', ':'), default=json_serial)
|
||||
|
||||
filtered_data = filter_response(data)
|
||||
filtered_data = filter_response(data, True)
|
||||
filtered_json = json.dumps(filtered_data, separators=(',', ':'), default=json_serial)
|
||||
except Exception as e:
|
||||
log.exception('reduce_data: %s', e)
|
||||
|
Loading…
Reference in New Issue
Block a user