Fix runtime items

Fixes #2531
This commit is contained in:
Sipke Schoorstra 2021-11-29 14:39:18 +01:00
parent 856a1ea1b5
commit b3dcadb354
2 changed files with 2 additions and 2 deletions

View file

@ -215,7 +215,7 @@ export const createElsaClient = async function (serverUrl: string): Promise<Elsa
designerApi: {
runtimeSelectItemsApi: {
get: async (providerTypeName: string, context?: any): Promise<SelectList> => {
const response = await httpClient.post('v1/designer/runtime-select-list-selectList', {
const response = await httpClient.post('v1/designer/runtime-select-list', {
providerTypeName: providerTypeName,
context: context
});

View file

@ -14,7 +14,7 @@ namespace Elsa.Server.Api.Endpoints.Designer.RuntimeSelectListItems
{
[ApiController]
[ApiVersion("1")]
[Route("v{apiVersion:apiVersion}/designer/runtime-select-list-items")]
[Route("v{apiVersion:apiVersion}/designer/runtime-select-list")]
[Produces("application/json")]
public class Get : Controller
{