Skip to content

Commit

Permalink
- Fixed a bug with the start app method
Browse files Browse the repository at this point in the history
- Release 1.3.1
  • Loading branch information
MarcusWichelmann committed Nov 3, 2020
1 parent 1270ca9 commit 2359582
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Magis.School.ApiClient/Endpoints/Web/IApps.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ public interface IApps
Task<DataAndAccessResponse<App>> 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<string> StartAppAsync(string appName);
Task<string> StartAppAsync(string appName, [Body] Dictionary<string,string> empty);
}
}
2 changes: 1 addition & 1 deletion Magis.School.ApiClient/Magis.School.ApiClient.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyTitle>Magis School API-Client</AssemblyTitle>
<Authors>Magis IT GmbH</Authors>
<Version>1.3.0</Version>
<Version>1.3.1</Version>
<Description>C# client library for the Magis School API</Description>
<PackageProjectUrl>https://github.com/magis-school/Magis.School.ApiClient</PackageProjectUrl>
<PackageLicenseUrl>https://github.com/magis-school/Magis.School.ApiClient/blob/master/LICENSE</PackageLicenseUrl>
Expand Down

0 comments on commit 2359582

Please sign in to comment.