fixup deps

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2023-10-02 20:22:03 +03:00
parent 770f837c11
commit 485ad60fe0

View File

@ -239,6 +239,7 @@ func giteaPullRequest(ctx context.Context, cfg *Config, mods map[string]modules.
req.Header.Add("Accept", "application/json") req.Header.Add("Accept", "application/json")
req.Header.Add("Content-Type", "application/json") req.Header.Add("Content-Type", "application/json")
logger.Infof(ctx, "try to get pulls GET "+envAPIURL+"/repos/"+envREPOSITORY+"/pulls?state=open&token=XXXXXX")
rsp, err := http.DefaultClient.Do(req) rsp, err := http.DefaultClient.Do(req)
if err != nil { if err != nil {
return err return err