fix getting the current version
This commit is contained in:
parent
102e2c43a5
commit
225bea021d
|
@ -30,9 +30,11 @@ export const buildOtherEndpoints = API => ({
|
||||||
* Gets the version of the installed Budibase environment.
|
* Gets the version of the installed Budibase environment.
|
||||||
*/
|
*/
|
||||||
getBudibaseVersion: async () => {
|
getBudibaseVersion: async () => {
|
||||||
return await API.get({
|
return (
|
||||||
url: "/api/dev/version",
|
await API.get({
|
||||||
}).version
|
url: "/api/dev/version",
|
||||||
|
})
|
||||||
|
).version
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue