Verified Commit 5654aaa2 authored by Agate's avatar Agate 💬

Fixed invalid mimeType property

parent 1e583cd5
Pipeline #9900 passed with stages
in 6 minutes and 14 seconds
......@@ -1583,12 +1583,12 @@ class ChannelUploadSerializer(serializers.Serializer):
"url": [
{
"type": "Link",
"mimeType": upload.mimetype,
"mediaType": upload.mimetype,
"href": utils.full_url(upload.listen_url_no_download),
},
{
"type": "Link",
"mimeType": "text/html",
"mediaType": "text/html",
"href": utils.full_url(upload.track.get_absolute_url()),
},
],
......
......@@ -1470,12 +1470,12 @@ def test_channel_upload_serializer(factories):
"url": [
{
"type": "Link",
"mimeType": upload.mimetype,
"mediaType": upload.mimetype,
"href": utils.full_url(upload.listen_url_no_download),
},
{
"type": "Link",
"mimeType": "text/html",
"mediaType": "text/html",
"href": utils.full_url(upload.track.get_absolute_url()),
},
],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment