Skip to content

Commit

Permalink
Merge pull request #33 from gary-beautypie/main
Browse files Browse the repository at this point in the history
Debug
  • Loading branch information
GtheSheep authored Oct 20, 2021
2 parents 429592d + 7100ced commit 641529b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/dbt_cloud/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package dbt_cloud
import (
"encoding/json"
"fmt"
"log"
"net/http"
"strings"
)
Expand Down Expand Up @@ -164,8 +165,8 @@ func (c *Client) UpdateJob(jobId string, job Job) (*Job, error) {
}

req, err := http.NewRequest("POST", fmt.Sprintf("%s/jobs/%s/", c.AccountURL, jobId), strings.NewReader(string(jobData)))
fmt.Printf(fmt.Sprintf("%s/jobs/%s/", c.AccountURL, jobId))
fmt.Printf(string(jobData))
log.Printf(fmt.Sprintf("%s/jobs/%s/", c.AccountURL, jobId))
log.Printf(string(jobData))
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 641529b

Please sign in to comment.