summaryrefslogtreecommitdiff
path: root/internal/api/client
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-02-17 17:03:44 +0100
committerLibravatar GitHub <noreply@github.com>2024-02-17 17:03:44 +0100
commit83a4adbd95ab8f89dfddbab9ba1f302564047d52 (patch)
treed9c602497bd5024f2d3296c315b815f1e5f3e52a /internal/api/client
parent[chore] refactor extractFromCtx a bit (#2646) (diff)
downloadgotosocial-83a4adbd95ab8f89dfddbab9ba1f302564047d52.tar.xz
[chore] Disable Move API endpoints for now until Move is fully implemented in the backend (#2650)
* [chore] Disable Move API endpoints for now until Move is fully implemented in the backend * disable other form fields * clarify that moving to GtS also isn't implemented yet
Diffstat (limited to 'internal/api/client')
-rw-r--r--internal/api/client/accounts/accountmove.go2
-rw-r--r--internal/api/client/accounts/accounts.go2
2 files changed, 3 insertions, 1 deletions
diff --git a/internal/api/client/accounts/accountmove.go b/internal/api/client/accounts/accountmove.go
index 3698c06a3..4f311e106 100644
--- a/internal/api/client/accounts/accountmove.go
+++ b/internal/api/client/accounts/accountmove.go
@@ -31,6 +31,8 @@ import (
//
// Move your account to another account.
//
+// NOT IMPLEMENTED YET!
+//
// ---
// tags:
// - accounts
diff --git a/internal/api/client/accounts/accounts.go b/internal/api/client/accounts/accounts.go
index c94fbfbaa..000c27d78 100644
--- a/internal/api/client/accounts/accounts.go
+++ b/internal/api/client/accounts/accounts.go
@@ -113,5 +113,5 @@ func (m *Module) Route(attachHandler func(method string, path string, f ...gin.H
// migration handlers
attachHandler(http.MethodPost, AliasPath, m.AccountAliasPOSTHandler)
- attachHandler(http.MethodPost, MovePath, m.AccountMovePOSTHandler)
+ // attachHandler(http.MethodPost, MovePath, m.AccountMovePOSTHandler) // todo: enable this only when Move is completed
}