mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 12:29:32 +02:00
See #192: renamed name to nodeName, and include anonymousCanListen value as well
This commit is contained in:
parent
095b70db4b
commit
cdc8388118
2 changed files with 6 additions and 3 deletions
|
@ -32,10 +32,11 @@ def get():
|
|||
'metadata': {
|
||||
'shortDescription': preferences.get('instance__short_description'),
|
||||
'longDescription': preferences.get('instance__long_description'),
|
||||
'name': preferences.get('instance__name'),
|
||||
'nodeName': preferences.get('instance__name'),
|
||||
'library': {
|
||||
'federationEnabled': preferences.get('federation__enabled'),
|
||||
'federationNeedsApproval': preferences.get('federation__music_needs_approval'),
|
||||
'anonymousCanListen': preferences.get('common__api_authentication_required'),
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue