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
|
|
@ -22,7 +22,7 @@ namespace PostIt.Services;
|
|||
/// </summary>
|
||||
public sealed class BlogApiClient
|
||||
{
|
||||
private const string DefaultPathPrefix = "api/blog";
|
||||
private const string DefaultPathPrefix = "blog";
|
||||
|
||||
private readonly YavscApiClient _api;
|
||||
private readonly string _pathPrefix;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue