Fix get in userclient
This commit is contained in:
parent
037d347ef3
commit
1510a746ec
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user