summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/ViewModels
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-01-11 16:53:58 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-01-11 16:53:58 -0500
commit609ceedaba6cd42e7025f1a15ebfeb26c69bab80 (patch)
tree2e781b48ba39d73d0dd60a1e2ae0f82c23c0279e /src/SMAPI.Web/ViewModels
parent219696275df054d25cd385f950eb01ee33312e76 (diff)
downloadSMAPI-609ceedaba6cd42e7025f1a15ebfeb26c69bab80.tar.gz
SMAPI-609ceedaba6cd42e7025f1a15ebfeb26c69bab80.tar.bz2
SMAPI-609ceedaba6cd42e7025f1a15ebfeb26c69bab80.zip
update for compatibility list change
Diffstat (limited to 'src/SMAPI.Web/ViewModels')
-rw-r--r--src/SMAPI.Web/ViewModels/ModModel.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/SMAPI.Web/ViewModels/ModModel.cs b/src/SMAPI.Web/ViewModels/ModModel.cs
index 2b478c81..56316ab7 100644
--- a/src/SMAPI.Web/ViewModels/ModModel.cs
+++ b/src/SMAPI.Web/ViewModels/ModModel.cs
@@ -1,4 +1,3 @@
-using System;
using System.Collections.Generic;
using System.Linq;
using StardewModdingAPI.Toolkit.Framework.Clients.Wiki;
@@ -38,8 +37,8 @@ namespace StardewModdingAPI.Web.ViewModels
/// <summary>The human-readable warnings for players about this mod.</summary>
public string[] Warnings { get; set; }
- /// <summary>Extra metadata links (usually for open pull requests).</summary>
- public Tuple<Uri, string>[] MetadataLinks { get; set; }
+ /// <summary>The URL of the pull request which submits changes for an unofficial update to the author, if any.</summary>
+ public string PullRequestUrl { get; set; }
/// <summary>Special notes intended for developers who maintain unofficial updates or submit pull requests. </summary>
public string DevNote { get; set; }
@@ -68,7 +67,7 @@ namespace StardewModdingAPI.Web.ViewModels
this.BetaCompatibility = entry.BetaCompatibility != null ? new ModCompatibilityModel(entry.BetaCompatibility) : null;
this.ModPages = this.GetModPageUrls(entry).ToArray();
this.Warnings = entry.Warnings;
- this.MetadataLinks = entry.MetadataLinks;
+ this.PullRequestUrl = entry.PullRequestUrl;
this.DevNote = entry.DevNote;
this.Slug = entry.Anchor;
}