add owner handle

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
GnomeZworc 2026-06-14 13:40:51 +02:00
commit f862abe5a4
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632
12 changed files with 274 additions and 55 deletions

View file

@ -38,6 +38,7 @@ func (s *ts) do(method, path string, body any) *http.Response {
if err != nil {
s.Fatalf("new request: %v", err)
}
req.Header.Set("X-Owner-ID", "1")
if body != nil {
req.Header.Set("Content-Type", "application/json")
}