Skip to content

Commit

Permalink
Removed let-over comments (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
naitmare01 authored Nov 17, 2022
1 parent 5744fd9 commit 1fbd7f4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pipedrive/data_source_deals.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ func dataSourceDeals() *schema.Resource {
func dataSourceDealsRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics {
client := &http.Client{Timeout: 10 * time.Second}
id := d.Get("id").(string)
//apikey := d.Get("apikey").(string)
apikey := m.(*Client).apitoken
apiurl := fmt.Sprintf("https://api.pipedrive.com/v1/deals/%s?api_token=%s", id, apikey)

Expand Down

0 comments on commit 1fbd7f4

Please sign in to comment.