Skip to content

Commit

Permalink
fix: incorrect endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
kirinnee committed Oct 26, 2023
1 parent 58f673e commit 4a6e053
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion App/Modules/Cyan/API/V1/Controllers/PluginController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public async Task<ActionResult<PluginVersionResp>> 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<ActionResult<PluginVersionResp>> GetVersion(string username, string pluginName, bool bumpDownload)
{
var plugin = await this._service.GetVersion(username, pluginName, bumpDownload)
Expand Down

0 comments on commit 4a6e053

Please sign in to comment.