diff --git a/api/funkwhale_api/subsonic/renderers.py b/api/funkwhale_api/subsonic/renderers.py
index ceab2c5ee..92c4508d4 100644
--- a/api/funkwhale_api/subsonic/renderers.py
+++ b/api/funkwhale_api/subsonic/renderers.py
@@ -7,10 +7,10 @@ import funkwhale_api
def structure_payload(data):
payload = {
- "status": "ok",
- "version": "1.16.0",
- "type": "funkwhale",
"funkwhaleVersion": funkwhale_api.__version__,
+ "status": "ok",
+ "type": "funkwhale",
+ "version": "1.16.0",
}
payload.update(data)
if "detail" in payload:
diff --git a/api/tests/subsonic/test_renderers.py b/api/tests/subsonic/test_renderers.py
index 501ae48ce..ffa4aeac5 100644
--- a/api/tests/subsonic/test_renderers.py
+++ b/api/tests/subsonic/test_renderers.py
@@ -80,7 +80,7 @@ def test_xml_renderer_dict_to_xml():
def test_xml_renderer():
payload = {"hello": "world"}
- expected = '\n' # noqa
+ expected = '\n' # noqa
expected = expected.format(funkwhale_api.__version__).encode()
renderer = renderers.SubsonicXMLRenderer()