From 582bc46f8ca99e977f0ab2614117d2acef99bdb3 Mon Sep 17 00:00:00 2001 From: Mike Salvatore <mike.s.salvatore@gmail.com> Date: Wed, 3 Aug 2022 13:24:30 -0400 Subject: [PATCH] Island: Rename keys in Version resource --- monkey/monkey_island/cc/resources/version.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monkey/monkey_island/cc/resources/version.py b/monkey/monkey_island/cc/resources/version.py index 1513a0c99..ffd42dd94 100644 --- a/monkey/monkey_island/cc/resources/version.py +++ b/monkey/monkey_island/cc/resources/version.py @@ -16,7 +16,7 @@ class Version(AbstractResource): # even when not authenticated def get(self): return { - "current_version": self._version.version_number, - "newer_version": self._version.latest_version, + "version_number": self._version.version_number, + "latest_version": self._version.latest_version, "download_link": self._version.download_url, }