LogEntryModel (Url -> Path)

This commit is contained in:
Stef Heyenrath
2017-02-06 07:35:56 +01:00
parent f7628fc51e
commit 8ecf7e414a
2 changed files with 4 additions and 4 deletions

View File

@@ -15,12 +15,12 @@ namespace WireMock.Admin.Requests
public DateTime DateTime { get; set; }
/// <summary>
/// Gets or sets the URL.
/// Gets or sets the Path.
/// </summary>
/// <value>
/// The URL.
/// The Path.
/// </value>
public string Url { get; set; }
public string Path { get; set; }
/// <summary>
/// Gets or sets the absolete URL.

View File

@@ -189,7 +189,7 @@ namespace WireMock.Server
Request = new LogRequestModel
{
DateTime = logEntry.RequestMessage.DateTime,
Url = logEntry.RequestMessage.Path,
Path = logEntry.RequestMessage.Path,
AbsoleteUrl = logEntry.RequestMessage.Url,
Query = logEntry.RequestMessage.Query,
Method = logEntry.RequestMessage.Method,