Skip to content

Commit

Permalink
Fix race condition in Yeahmobi adapter (prebid#1761)
Browse files Browse the repository at this point in the history
Co-authored-by: Gus Carreon <[email protected]>
  • Loading branch information
guscarreon and Gus Carreon authored Mar 25, 2021
1 parent b9d28e7 commit ef32c8b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion adapters/yeahmobi/yeahmobi.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@ func transform(request *openrtb.BidRequest) {
continue
}

request.Imp[i].Native.Request = string(nativeReqByte)
nativeCopy := *request.Imp[i].Native
nativeCopy.Request = string(nativeReqByte)
request.Imp[i].Native = &nativeCopy
}
}
}
Expand Down

0 comments on commit ef32c8b

Please sign in to comment.