Skip to content

Commit

Permalink
Fix minor error message spelling mistake "vastml" -> "vastxml" (#1455)
Browse files Browse the repository at this point in the history
  • Loading branch information
robhazan authored Aug 24, 2020
1 parent 30ef858 commit 9dbd008
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"message": "Invalid request: request.ext is invalid: request.ext.prebid.cache requires one of the \"bids\" or \"vastml\" properties\n",
"message": "Invalid request: request.ext is invalid: request.ext.prebid.cache requires one of the \"bids\" or \"vastxml\" properties\n",
"requestPayload": {
"id": "some-request-id",
"site": {
Expand Down
2 changes: 1 addition & 1 deletion openrtb_ext/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (ert *ExtRequestPrebidCache) UnmarshalJSON(b []byte) error {
}

if proxy.Bids == nil && proxy.VastXML == nil {
return errors.New(`request.ext.prebid.cache requires one of the "bids" or "vastml" properties`)
return errors.New(`request.ext.prebid.cache requires one of the "bids" or "vastxml" properties`)
}

*ert = ExtRequestPrebidCache(proxy)
Expand Down

0 comments on commit 9dbd008

Please sign in to comment.