Fix get in userclient

This commit is contained in:
Torjus Håkestad 2023-10-22 23:10:36 +02:00
parent 037d347ef3
commit 1510a746ec

View File

@ -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
}