From 4a6e05300239643de218eb9a34c9eb0f41dca074 Mon Sep 17 00:00:00 2001 From: kirinnee Date: Thu, 26 Oct 2023 19:21:51 +0800 Subject: [PATCH] fix: incorrect endpoint --- App/Modules/Cyan/API/V1/Controllers/PluginController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/App/Modules/Cyan/API/V1/Controllers/PluginController.cs b/App/Modules/Cyan/API/V1/Controllers/PluginController.cs index ab50ae1..b1013b8 100644 --- a/App/Modules/Cyan/API/V1/Controllers/PluginController.cs +++ b/App/Modules/Cyan/API/V1/Controllers/PluginController.cs @@ -182,7 +182,7 @@ public async Task> GetVersion(string username, s new EntityNotFound("Plugin not found", typeof(PluginVersion), $"{username}/{pluginName}:{ver}")); } - [HttpGet("slug/{username}/{pluginName}/version/latest")] + [HttpGet("slug/{username}/{pluginName}/versions/latest")] public async Task> GetVersion(string username, string pluginName, bool bumpDownload) { var plugin = await this._service.GetVersion(username, pluginName, bumpDownload)