summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/ViewModels
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI.Web/ViewModels')
-rw-r--r--src/SMAPI.Web/ViewModels/LogParserModel.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/SMAPI.Web/ViewModels/LogParserModel.cs b/src/SMAPI.Web/ViewModels/LogParserModel.cs
index ba31db87..b5b3b14c 100644
--- a/src/SMAPI.Web/ViewModels/LogParserModel.cs
+++ b/src/SMAPI.Web/ViewModels/LogParserModel.cs
@@ -9,6 +9,9 @@ namespace StardewModdingAPI.Web.ViewModels
/// <summary>The root URL for the log parser controller.</summary>
public string SectionUrl { get; set; }
+ /// <summary>The paste ID.</summary>
+ public string PasteID { get; set; }
+
/*********
** Public methods
@@ -18,9 +21,11 @@ namespace StardewModdingAPI.Web.ViewModels
/// <summary>Construct an instance.</summary>
/// <param name="sectionUrl">The root URL for the log parser controller.</param>
- public LogParserModel(string sectionUrl)
+ /// <param name="pasteID">The paste ID.</param>
+ public LogParserModel(string sectionUrl, string pasteID)
{
this.SectionUrl = sectionUrl;
+ this.PasteID = pasteID;
}
}
}