mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-05 02:29:24 +00:00
add config key to api response
This commit is contained in:
@@ -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"""
|
||||
|
||||
Reference in New Issue
Block a user