1
0
Fork 0
mirror of synced 2024-07-05 06:20:55 +12:00

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 09565e41d0
commit ba52b10666

View file

@ -7,7 +7,7 @@ const workflowActions = store => ({
fetch: async () => {
const responses = await Promise.all([
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()))
store.update(state => {