Browse Source

fix getting the current version

master
Maurits Lourens 5 years ago
parent
commit
028cdfcf9a
  1. 8
      packages/frontend-core/src/api/other.js

8
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
},
/**

Loading…
Cancel
Save