diff --git a/packages/frontend-core/src/api/other.js b/packages/frontend-core/src/api/other.js index e7b446c181..71ea19ccce 100644 --- a/packages/frontend-core/src/api/other.js +++ b/packages/frontend-core/src/api/other.js @@ -30,9 +30,11 @@ export const buildOtherEndpoints = API => ({ * Gets the version of the installed Budibase environment. */ getBudibaseVersion: async () => { - return await API.get({ - url: "/api/dev/version", - }).version + return ( + await API.get({ + url: "/api/dev/version", + }) + ).version }, /**