Skip to content

Commit 9537a63

Browse files
authored
Merge pull request #10 from LiteObject/feature/refactor_code
Fix message formatting in InfoController's Get method
2 parents 8a6026d + 7774de0 commit 9537a63

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/code-review.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
3737
# Step 4: Upload the diff file as an artifact (optional)
3838
- name: Upload Diff as Artifact
39-
uses: actions/upload-artifact@v3
39+
uses: actions/upload-artifact@v4
4040
with:
4141
name: pr-diff
4242
path: changes.diff

src/MyWebApi/MyWebApi/Controllers/WeatherForecastController.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public InfoController(ILogger<InfoController> logger)
1717
public IActionResult Get()
1818
{
1919
// Log a message at the Information level
20-
var message = "Hello World from InfoController...";
20+
var message = "Hello World from InfoController. This is a sample message.";
2121
_logger.LogInformation(message);
2222
return Ok(message);
2323
}

0 commit comments

Comments
 (0)