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 <gcarreongutierrez@Guss-MacBook-Pro.local>
  • Loading branch information
2 people authored and Dan Barnett committed May 11, 2021
1 parent 9880102 commit 8a7a10d
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 8a7a10d

Please sign in to comment.