summaryrefslogtreecommitdiff
path: root/internal/api
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-03-13 14:45:50 +0100
committerLibravatar GitHub <noreply@github.com>2024-03-13 14:45:50 +0100
commit92bf1f779bd86756f78f94283e6085e6fe2f5de0 (patch)
treece4476d509959321f14c1a3167cbe18dc62eb105 /internal/api
parent[feature] Process outgoing Move from clientAPI (#2750) (diff)
downloadgotosocial-92bf1f779bd86756f78f94283e6085e6fe2f5de0.tar.xz
[chore] Expose move endpoint again, small settings panel fixes (#2752)
Diffstat (limited to 'internal/api')
-rw-r--r--internal/api/client/accounts/accountmove.go2
-rw-r--r--internal/api/client/accounts/accounts.go2
2 files changed, 1 insertions, 3 deletions
diff --git a/internal/api/client/accounts/accountmove.go b/internal/api/client/accounts/accountmove.go
index 4f311e106..3698c06a3 100644
--- a/internal/api/client/accounts/accountmove.go
+++ b/internal/api/client/accounts/accountmove.go
@@ -31,8 +31,6 @@ 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 000c27d78..c94fbfbaa 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) // todo: enable this only when Move is completed
+ attachHandler(http.MethodPost, MovePath, m.AccountMovePOSTHandler)
}