add owner handle
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
0f2d7126eb
commit
f862abe5a4
12 changed files with 274 additions and 55 deletions
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue