Skip to content

Commit

Permalink
chore: facebook_pixel to v1 proxy tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepdsvs committed Mar 1, 2024
1 parent 7532c90 commit 1de83e9
Show file tree
Hide file tree
Showing 5 changed files with 511 additions and 11 deletions.
6 changes: 5 additions & 1 deletion src/services/destination/nativeIntegration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,11 @@ export class NativeIntegrationDestinationService implements DestinationService {
const jobStates = (deliveryRequest as ProxyV1Request).metadata.map(
(metadata) =>
({
error: JSON.stringify(v0Response.destinationResponse?.response),
error: JSON.stringify(
v0Response.destinationResponse?.response === undefined
? v0Response.destinationResponse
: v0Response.destinationResponse?.response,
),
statusCode: v0Response.status,
metadata,
}) as DeliveryJobState,
Expand Down
Loading

0 comments on commit 1de83e9

Please sign in to comment.