mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 04:39:16 +02:00
Fix #200: Instances can now indicate on the nodeinfo endpoint if they want to remain private
This commit is contained in:
parent
ceccaa1387
commit
1974c17e76
4 changed files with 19 additions and 0 deletions
|
@ -36,6 +36,7 @@ def test_nodeinfo_dump(preferences, mocker):
|
|||
}
|
||||
},
|
||||
'metadata': {
|
||||
'private': preferences['instance__nodeinfo_private'],
|
||||
'shortDescription': preferences['instance__short_description'],
|
||||
'longDescription': preferences['instance__long_description'],
|
||||
'nodeName': preferences['instance__name'],
|
||||
|
@ -92,6 +93,7 @@ def test_nodeinfo_dump_stats_disabled(preferences, mocker):
|
|||
}
|
||||
},
|
||||
'metadata': {
|
||||
'private': preferences['instance__nodeinfo_private'],
|
||||
'shortDescription': preferences['instance__short_description'],
|
||||
'longDescription': preferences['instance__long_description'],
|
||||
'nodeName': preferences['instance__name'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue