Skip to content

Commit 5a030a9

Browse files
committed
v1.0.13
Fix typo bug in new code
1 parent 75b1146 commit 5a030a9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

MattermostApi/Api.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -455,10 +455,10 @@ public async Task<HttpResponseMessage> SendMessageAsyncAndGetResponse(HttpMethod
455455
Log($"Sent -> {(Settings.LogRequest > 1 ? message.ToString() : message.RequestUri.ToString())}:{content}");
456456
result = await _client.SendAsync(message);
457457
if (Settings.LogResult > 1)
458-
Log("Received -> {result}");
458+
Log($"Received -> {result}");
459459
if (!result.IsSuccessStatusCode) {
460-
Error("Message -> {message}:{content}");
461-
Error("Response -> {result}");
460+
Error($"Message -> {message}:{content}");
461+
Error($"Response -> {result}");
462462
}
463463
switch (result.StatusCode) {
464464
case HttpStatusCode.Found: // Redirect

MattermostApi/MattermostApi.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<RepositoryUrl>https://github.com/nikkilocke/MattermostApi</RepositoryUrl>
1414
<RepositoryType>GitHub</RepositoryType>
1515
<PackageReleaseNotes>Separate Log and Error streams</PackageReleaseNotes>
16-
<Version>1.0.12</Version>
16+
<Version>1.0.13</Version>
1717
</PropertyGroup>
1818

1919
<ItemGroup>

0 commit comments

Comments
 (0)