Skip to content

Commit c24dbf0

Browse files
committed
Code clean and set version up
1 parent f19b41b commit c24dbf0

4 files changed

Lines changed: 5 additions & 7 deletions

File tree

API.Test/TeachingTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public void GetClass()
3030
{
3131
Client.LoginAsync(s_Server, s_LoginName, s_UserName, s_Password).Wait();
3232

33-
Task<Class[]> classes = Client.GetClassesAsync(new SchoolYear() { Id = 5});
33+
Task<Class[]> classes = Client.GetClassesAsync(new SchoolYear() { Id = 5 });
3434
classes.Wait();
3535
if (classes.Result.Length > 0)
3636
Assert.Pass();

WebUntisAPI.Client/Models/Messages/Attachment.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
using System.Linq;
77
using System.Net;
88
using System.Net.Http;
9-
using System.Text;
10-
using System.Text.RegularExpressions;
119
using System.Threading;
1210
using System.Threading.Tasks;
1311

WebUntisAPI.Client/WebUntisAPI.Client.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
<Copyright>Copyright © Suiram1 2023</Copyright>
1717
<Description>A library in .NET to interact with the WebUntis API.</Description>
1818
<Company>Suiram1</Company>
19-
<AssemblyVersion>1.1.0</AssemblyVersion>
20-
<FileVersion>1.1.0</FileVersion>
21-
<Version>1.1.0</Version>
19+
<AssemblyVersion>1.1.1</AssemblyVersion>
20+
<FileVersion>1.1.1</FileVersion>
21+
<Version>1.1.1</Version>
2222
</PropertyGroup>
2323

2424
<ItemGroup>

WebUntisAPI.Client/WebUntisClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ public async Task ReloadSessionAsync(CancellationToken ct = default)
482482
if (response.StatusCode != HttpStatusCode.OK)
483483
throw new HttpRequestException($"There was an error while the http request (Code: {response.StatusCode}).");
484484

485-
485+
486486
_bearerToken = await response.Content.ReadAsStringAsync();
487487
}
488488

0 commit comments

Comments
 (0)