Skip to content

Commit

Permalink
fixing the error
Browse files Browse the repository at this point in the history
Signed-off-by: Huong Nguyen <[email protected]>
  • Loading branch information
Huong Nguyen committed Jan 17, 2025
1 parent 3dd6315 commit 023965e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package/kedro_viz/api/rest/responses/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ class VersionAPIResponse(BaseAPIResponse):

def get_version_response():
"""API response for `/api/version`."""
installed_version = __version__
latest_version = get_latest_version()
installed_version = str(__version__)
latest_version = str(get_latest_version())
is_outdated = is_running_outdated_version(installed_version, latest_version)

return VersionAPIResponse(
installed=installed_version,
isOutdated=is_outdated,
latest=latest_version
latest=latest_version,
)
1 change: 0 additions & 1 deletion src/components/wrapper/wrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export const Wrapper = ({ displayGlobalNavigation, theme }) => {
useEffect(() => {
async function checkKedroVizVersion() {
try {
debugger;
const request = await getVersion();
const response = await request.json();

Expand Down

0 comments on commit 023965e

Please sign in to comment.