mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-01 19:22:24 -05:00
start refactoring return codes from fedi endpoints, remove some cruft
This commit is contained in:
parent
c6044d0142
commit
47051a26d6
28 changed files with 346 additions and 291 deletions
|
|
@ -350,7 +350,7 @@ func (m *Module) returnAPAccount(
|
|||
targetUsername string,
|
||||
contentType string,
|
||||
) {
|
||||
user, errWithCode := m.processor.Fedi().UserGet(c.Request.Context(), targetUsername, c.Request.URL)
|
||||
user, errWithCode := m.processor.Fedi().UserGet(c.Request.Context(), targetUsername)
|
||||
if errWithCode != nil {
|
||||
apiutil.WebErrorHandler(c, errWithCode, m.processor.InstanceGetV1)
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue