diff --git a/server/userclient.go b/server/userclient.go index 20c77b3..7b0358a 100644 --- a/server/userclient.go +++ b/server/userclient.go @@ -64,7 +64,7 @@ func (c *UserClient) GetUser(identifier string) (users.User, error) { url := fmt.Sprintf("%s/%s", c.BaseURL, identifier) - req, err := http.NewRequestWithContext(ctx, http.MethodPost, url, nil) + req, err := http.NewRequestWithContext(ctx, http.MethodGet, url, nil) if err != nil { return u, err }