Verified Commit bf3b3854 authored by Agate's avatar Agate 💬

See #573: Added missing type / version in getLicense endpoint

parent ccd600ec
......@@ -8,6 +8,7 @@ from rest_framework import renderers, response, viewsets
from rest_framework.decorators import list_route
from rest_framework.serializers import ValidationError
import funkwhale_api
from funkwhale_api.activity import record
from funkwhale_api.common import preferences
from funkwhale_api.favorites.models import TrackFavorite
......@@ -122,6 +123,8 @@ class SubsonicViewSet(viewsets.GenericViewSet):
data = {
"status": "ok",
"version": "1.16.0",
"type": "funkwhale",
"funkwhale-version": funkwhale_api.__version__,
"license": {
"valid": "true",
"email": "valid@valid.license",
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