summaryrefslogtreecommitdiff
path: root/internal/api
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-01-13 17:07:52 +0100
committerLibravatar GitHub <noreply@github.com>2023-01-13 17:07:52 +0100
commit132c73883f2fc31f41b73191c975fc4d8ccb139d (patch)
tree78b783fdee2ee6ebf2093d534663421be8c54dd1 /internal/api
parent[chore] Remove omitempty on account source; refactor tests to use prettyprint... (diff)
downloadgotosocial-132c73883f2fc31f41b73191c975fc4d8ccb139d.tar.xz
[bugfix] Mount bookmarks endpoint correctly (#1338)
Diffstat (limited to 'internal/api')
-rw-r--r--internal/api/client/bookmarks/bookmarks.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/api/client/bookmarks/bookmarks.go b/internal/api/client/bookmarks/bookmarks.go
index f37c99b2a..612bec223 100644
--- a/internal/api/client/bookmarks/bookmarks.go
+++ b/internal/api/client/bookmarks/bookmarks.go
@@ -26,8 +26,8 @@ import (
)
const (
- // BasePath is the base path for serving the bookmarks API
- BasePath = "/api/v1/bookmarks"
+ // BasePath is the base path for serving the bookmarks API, minus the 'api' prefix
+ BasePath = "/v1/bookmarks"
)
type Module struct {