Merge branch 'server-workflows' of github.com:Budibase/budibase into server-workflows
This commit is contained in:
commit
980e35942d
|
@ -7,7 +7,7 @@ const workflowActions = store => ({
|
||||||
fetch: async () => {
|
fetch: async () => {
|
||||||
const responses = await Promise.all([
|
const responses = await Promise.all([
|
||||||
api.get(`/api/workflows`),
|
api.get(`/api/workflows`),
|
||||||
api.get(`/api/workflows/definition/list`),
|
api.get(`/api/workflows/definitions/list`),
|
||||||
])
|
])
|
||||||
const jsonResponses = await Promise.all(responses.map(x => x.json()))
|
const jsonResponses = await Promise.all(responses.map(x => x.json()))
|
||||||
store.update(state => {
|
store.update(state => {
|
||||||
|
|
Loading…
Reference in New Issue