Browse Source

Merge pull request #4621 from mslourens/show_current_version

fix getting the current version
pull/4838/head
Martin McKeaveney 5 years ago
committed by GitHub
parent
commit
65d55e13e0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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