mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-25 05:00:16 +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