summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI.Web/Framework/ModRepositories
diff options
context:
space:
mode:
Diffstat (limited to 'src/StardewModdingAPI.Web/Framework/ModRepositories')
-rw-r--r--src/StardewModdingAPI.Web/Framework/ModRepositories/NexusRepository.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/StardewModdingAPI.Web/Framework/ModRepositories/NexusRepository.cs b/src/StardewModdingAPI.Web/Framework/ModRepositories/NexusRepository.cs
index 7e3ce4b6..02c2939a 100644
--- a/src/StardewModdingAPI.Web/Framework/ModRepositories/NexusRepository.cs
+++ b/src/StardewModdingAPI.Web/Framework/ModRepositories/NexusRepository.cs
@@ -44,12 +44,12 @@ namespace StardewModdingAPI.Web.Framework.ModRepositories
.As<NexusResponseModel>();
return response != null
- ? new ModInfoModel($"{this.VendorKey}:{id}", response.Name, response.Version, response.Url)
- : new ModInfoModel($"{this.VendorKey}:{id}", "Found no mod with this ID.");
+ ? new ModInfoModel(response.Name, response.Version, response.Url)
+ : new ModInfoModel("Found no mod with this ID.");
}
catch (Exception ex)
{
- return new ModInfoModel($"{this.VendorKey}:{id}", ex.ToString());
+ return new ModInfoModel(ex.ToString());
}
}