From 2359582892f0ef1bc6707b935c48b0f87bbd3bee Mon Sep 17 00:00:00 2001 From: Marcus Wichelmann Date: Tue, 3 Nov 2020 21:15:40 +0100 Subject: [PATCH] - Fixed a bug with the start app method - Release 1.3.1 --- Magis.School.ApiClient/Endpoints/Web/IApps.cs | 3 ++- Magis.School.ApiClient/Magis.School.ApiClient.csproj | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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