summaryrefslogtreecommitdiff
path: root/internal/apimodule/app/appcreate.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/apimodule/app/appcreate.go')
-rw-r--r--internal/apimodule/app/appcreate.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/apimodule/app/appcreate.go b/internal/apimodule/app/appcreate.go
index ec52a9d37..99b79d470 100644
--- a/internal/apimodule/app/appcreate.go
+++ b/internal/apimodule/app/appcreate.go
@@ -29,9 +29,9 @@ import (
"github.com/superseriousbusiness/gotosocial/internal/oauth"
)
-// appsPOSTHandler should be served at https://example.org/api/v1/apps
+// AppsPOSTHandler should be served at https://example.org/api/v1/apps
// It is equivalent to: https://docs.joinmastodon.org/methods/apps/
-func (m *appModule) appsPOSTHandler(c *gin.Context) {
+func (m *Module) AppsPOSTHandler(c *gin.Context) {
l := m.log.WithField("func", "AppsPOSTHandler")
l.Trace("entering AppsPOSTHandler")