Small fix for last change, singular to plural in API definition.

This commit is contained in:
mike12345567 2020-09-14 16:00:51 +01:00
parent b1a8837c0c
commit e14677fcff
1 changed files with 1 additions and 1 deletions

View File

@ -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 => {