Merge pull request #4621 from mslourens/show_current_version
fix getting the current version
This commit is contained in:
commit
7c971586aa
|
@ -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…
Reference in New Issue