From 1510a746ec5e2ee5eadb5c4f8d057337f73d55a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= <torjus@usit.uio.no>
Date: Sun, 22 Oct 2023 23:10:36 +0200
Subject: [PATCH] Fix get in userclient

---
 server/userclient.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
 	}