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 shunj-nb committed Nov 8, 2022
1 parent e7c0774 commit 64170cd
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 64170cd

Please sign in to comment.