This commit is contained in:
tobi 2025-01-23 17:19:18 +01:00
commit a79217400c
15 changed files with 317 additions and 175 deletions

View file

@ -18,6 +18,7 @@
package users
import (
"fmt"
"net/http"
"github.com/gin-gonic/gin"
@ -33,6 +34,8 @@ import (
func (m *Module) InboxPOSTHandler(c *gin.Context) {
_, err := m.processor.Fedi().InboxPost(c.Request.Context(), c.Writer, c.Request)
if err != nil {
fmt.Printf("\n\n\n%+v\n\n\n", err)
errWithCode := errorsv2.AsV2[gtserror.WithCode](err)
if errWithCode == nil {