PostIt: fix blog API double-prefix; drop redundant New
BlogApiClient's "api/blog" path combined with the BaseAddress's "api/v1/" prefix to produce 404s on every call. Drop the redundant "api/" segment, let Save handle the create case (no selection) and remove the now-redundant New button + command.
This commit is contained in:
parent
f2ae01729a
commit
0d2d4160af
4 changed files with 21 additions and 18 deletions
|
|
@ -10,7 +10,6 @@ namespace Yavsc.Blogs.Controllers
|
|||
[Authorize("BlogScope")]
|
||||
[Produces("application/json")]
|
||||
[Route(APIPrefix + "/blog")]
|
||||
|
||||
public class BlogApiController : Controller
|
||||
{
|
||||
private readonly BlogSpotService blogSpotService;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue