Skip to content

Commit

Permalink
Update packages/core/src/request.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Griesser <[email protected]>
  • Loading branch information
rhcarvalho and HazAT authored Oct 2, 2020
1 parent a5212a2 commit 1af1f5e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/core/src/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ export function eventToSentryRequest(event: Event, api: API): SentryRequest {
if (useEnvelope) {
const envelopeHeaders = JSON.stringify({
event_id: event.event_id,
// We need to add * 1000 since we divide it by 1000 by default but JS works with ms precision
// The reason we use timestampWithMs here is that all clocks across the SDK use the same clock
sent_at: new Date().toISOString(),
});
const itemHeaders = JSON.stringify({
Expand Down

0 comments on commit 1af1f5e

Please sign in to comment.