mirror of
https://github.com/tubearchivist/tubearchivist.git
synced 2024-12-22 01:40:12 +00:00
add config key to api response
This commit is contained in:
parent
5c3f0d1e5f
commit
265795f4a9
@ -34,6 +34,7 @@ class ApiBaseView(APIView):
|
||||
"es_url": self.default_conf["application"]["es_url"],
|
||||
"es_auth": self.default_conf["application"]["es_auth"],
|
||||
}
|
||||
self.response["config"] = self.default_conf
|
||||
|
||||
def get_document(self, document_id):
|
||||
"""get single document from es"""
|
||||
|
Loading…
Reference in New Issue
Block a user