Skip to content

Commit d465d88

Browse files
committed
Misc correction
1 parent d7abd9d commit d465d88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ArchiSteamFarm/IPC/Controllers/Api/NLogController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public NLogController(IHostApplicationLifetime applicationLifetime) {
5757

5858
[EndpointSummary("Fetches ASF log file, this works on assumption that the log file is in fact generated, as user could disable it through custom configuration")]
5959
[HttpGet("File")]
60-
[ProducesResponseType<GenericResponse<GenericResponse<LogResponse>>>((int) HttpStatusCode.OK)]
60+
[ProducesResponseType<GenericResponse<LogResponse>>((int) HttpStatusCode.OK)]
6161
[ProducesResponseType<GenericResponse>((int) HttpStatusCode.BadRequest)]
6262
[ProducesResponseType<GenericResponse>((int) HttpStatusCode.ServiceUnavailable)]
6363
public async Task<ActionResult<GenericResponse>> FileGet([Description("Maximum amount of lines from the log file returned. The respone naturally might have less amount than specified, if you've read whole file already")] int count = 100, [Description("Ending index, used for pagination. Omit it for the first request, then initialize to TotalLines returned, and on every following request subtract count that you've used in the previous request from it until you hit 0 or less, which means you've read whole file already")] int lastAt = 0) {

0 commit comments

Comments
 (0)