diff --git a/Magis.School.ApiClient/Endpoints/Web/IApps.cs b/Magis.School.ApiClient/Endpoints/Web/IApps.cs index 2ec46ea..c26b5d3 100644 --- a/Magis.School.ApiClient/Endpoints/Web/IApps.cs +++ b/Magis.School.ApiClient/Endpoints/Web/IApps.cs @@ -17,7 +17,8 @@ public interface IApps Task> GetAppAsync(string appName, [Query] string eventStreamId = null, [Query] bool checkExists = false, CancellationToken cancellationToken = default); + // TODO: Because of a bug in the server (backend#60) the api call fails when no empty json object is sent. [Post("/api/web/apps/{appName}/start")] - Task StartAppAsync(string appName); + Task StartAppAsync(string appName, [Body] Dictionary empty); } } diff --git a/Magis.School.ApiClient/Magis.School.ApiClient.csproj b/Magis.School.ApiClient/Magis.School.ApiClient.csproj index 51f4bfb..12f0323 100644 --- a/Magis.School.ApiClient/Magis.School.ApiClient.csproj +++ b/Magis.School.ApiClient/Magis.School.ApiClient.csproj @@ -4,7 +4,7 @@ netstandard2.0 Magis School API-Client Magis IT GmbH - 1.3.0 + 1.3.1 C# client library for the Magis School API https://github.com/magis-school/Magis.School.ApiClient https://github.com/magis-school/Magis.School.ApiClient/blob/master/LICENSE