mirror of
https://github.com/Readarr/Readarr
synced 2026-01-17 04:53:26 +01:00
Fixed double question mark in log.
This commit is contained in:
parent
7884dd9a39
commit
6b117427f8
1 changed files with 3 additions and 3 deletions
|
|
@ -39,7 +39,7 @@ private Response LogStart(NancyContext context)
|
|||
context.Items["ApiRequestStartTime"] = DateTime.UtcNow;
|
||||
|
||||
var reqPath = GetRequestPathAndQuery(context.Request);
|
||||
|
||||
|
||||
_loggerHttp.Trace("Req: {0} [{1}] {2}", id, context.Request.Method, reqPath);
|
||||
|
||||
return null;
|
||||
|
|
@ -80,7 +80,7 @@ private static string GetRequestPathAndQuery(Request request)
|
|||
{
|
||||
if (request.Url.Query.IsNotNullOrWhiteSpace())
|
||||
{
|
||||
return string.Concat(request.Url.Path, "?", request.Url.Query);
|
||||
return string.Concat(request.Url.Path, request.Url.Query);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -88,4 +88,4 @@ private static string GetRequestPathAndQuery(Request request)
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue