Skip to content

Commit

Permalink
simplified ext struct
Browse files Browse the repository at this point in the history
  • Loading branch information
TommyHPettersen committed Dec 13, 2024
1 parent 32483fe commit c51b0e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions adapters/kobler/kobler.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,7 @@ func (a adapter) MakeRequests(request *openrtb2.BidRequest, reqInfo *adapters.Ex
continue
}

if impExt.Test != nil {
testMode = *impExt.Test
}
testMode = impExt.Test
}
}

Expand Down
2 changes: 1 addition & 1 deletion openrtb_ext/imp_kobler.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package openrtb_ext

type ExtImpKobler struct {
Test *bool `json:"test"`
Test bool `json:"test"`
}

0 comments on commit c51b0e5

Please sign in to comment.