Skip to content

Commit dec4f6a

Browse files
committed
Code clean
1 parent b225d63 commit dec4f6a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

WebUntisAPI.Client/WebUntisclient.Profile.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public async Task<Image> GetMessagePersonProfileImageAsync(MessagePerson person,
131131

132132
#if NET47 || NET481
133133
Image image = Image.FromStream(await response.Content.ReadAsStreamAsync());
134-
134+
135135
if (image.Height == image.Width)
136136
return image;
137137

@@ -289,7 +289,7 @@ public async Task<GeneralAccount> GetGenerallyAccountInformationAsync(Cancellati
289289
throw new HttpRequestException($"There was an error while the http request (Code: {response.StatusCode}).");
290290

291291
#if NET47 || NET481
292-
Image image = Image.FromStream(await response.Content.ReadAsStreamAsync());
292+
Image image = Image.FromStream(await response.Content.ReadAsStreamAsync());
293293
#elif NET6_0_OR_GREATER
294294
Image image = await Image.LoadAsync(await response.Content.ReadAsStreamAsync(ct), ct);
295295
#endif

0 commit comments

Comments
 (0)