summaryrefslogtreecommitdiff
path: root/internal/api/s2s/user/userget.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2021-09-24 17:56:48 +0200
committerLibravatar GitHub <noreply@github.com>2021-09-24 17:56:48 +0200
commitc7cfbe2702913a6d6e7c962992546c96aa512068 (patch)
tree4b0bb21aab9be586d5db26d172f548e12c07f96e /internal/api/s2s/user/userget.go
parentGoreleaser (#241) (diff)
downloadgotosocial-c7cfbe2702913a6d6e7c962992546c96aa512068.tar.xz
Unblock fix (#247)
* start tests for inbox posts * go mod tidy * rename transferContext * test block/unblock * improve logging * improve logging * fix comment typo
Diffstat (limited to 'internal/api/s2s/user/userget.go')
-rw-r--r--internal/api/s2s/user/userget.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/s2s/user/userget.go b/internal/api/s2s/user/userget.go
index abd52da22..105ffd7bc 100644
--- a/internal/api/s2s/user/userget.go
+++ b/internal/api/s2s/user/userget.go
@@ -55,7 +55,7 @@ func (m *Module) UsersGETHandler(c *gin.Context) {
}
l.Tracef("negotiated format: %s", format)
- ctx := populateContext(c)
+ ctx := transferContext(c)
user, errWithCode := m.processor.GetFediUser(ctx, requestedUsername, c.Request.URL) // GetFediUser handles auth as well
if errWithCode != nil {