mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-15 10:37:29 -06:00
hup hup hup allee
This commit is contained in:
parent
9e1f61c373
commit
8104a03bd5
12 changed files with 697 additions and 281 deletions
|
|
@ -56,7 +56,7 @@ func (m *Module) UsersGETHandler(c *gin.Context) {
|
|||
|
||||
// make a copy of the context to pass along so we don't break anything
|
||||
cp := c.Copy()
|
||||
user, err := m.processor.GetAPUser(requestedUsername, cp.Request) // GetAPUser handles auth as well
|
||||
user, err := m.processor.GetFediUser(requestedUsername, cp.Request) // GetAPUser handles auth as well
|
||||
if err != nil {
|
||||
l.Info(err.Error())
|
||||
c.JSON(err.Code(), gin.H{"error": err.Safe()})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue