Merge pull request #5695 from zyhfish/task/fix-5694

Fix #5694: update the route.
This commit is contained in:
Shaun Walker
2025-10-07 07:38:59 -04:00
committed by GitHub

View File

@ -127,7 +127,7 @@ namespace Oqtane.Controllers
}
// DELETE api/<controller>/5?siteid=x
[HttpDelete("{themename}")]
[HttpDelete("{id}")]
[Authorize(Roles = RoleNames.Host)]
public void Delete(int id, int siteid)
{