fix: Typo in key name

pull/779/head
Raphaël Vinot 2021-08-05 11:06:18 +02:00
parent 70d716622e
commit 3dd88a1418
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ class PyMISP:
# Sine MISP 2.4.146 is recommended PyMISP version included in getVersion call # Sine MISP 2.4.146 is recommended PyMISP version included in getVersion call
misp_version = self.misp_instance_version misp_version = self.misp_instance_version
if "pymisp_recommended_version" in misp_version: if "pymisp_recommended_version" in misp_version:
return {"version": misp_version["recommended_pymisp_version"]} # Returns dict to keep BC return {"version": misp_version["pymisp_recommended_version"]} # Returns dict to keep BC
response = self._prepare_request('GET', 'servers/getPyMISPVersion.json') response = self._prepare_request('GET', 'servers/getPyMISPVersion.json')
return self._check_json_response(response) return self._check_json_response(response)