See #872: added a new terms of service setting

This commit is contained in:
Eliot Berriot 2019-09-16 11:33:33 +02:00
parent 01d2206001
commit 5ca3055713
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
4 changed files with 19 additions and 1 deletions

View file

@ -40,6 +40,7 @@ def get():
"private": all_preferences.get("instance__nodeinfo_private"),
"shortDescription": all_preferences.get("instance__short_description"),
"longDescription": all_preferences.get("instance__long_description"),
"terms": all_preferences.get("instance__terms"),
"nodeName": all_preferences.get("instance__name"),
"library": {
"federationEnabled": all_preferences.get("federation__enabled"),