Skip to content

Commit

Permalink
Update src/v0/util/facebookUtils/networkHandler.js
Browse files Browse the repository at this point in the history
Co-authored-by: Sankeerth <[email protected]>
  • Loading branch information
shrouti1507 and sanpj2292 authored Feb 2, 2024
1 parent a62b9c5 commit 387a46b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/v0/util/facebookUtils/networkHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,7 @@ const getStatus = (error) => {
errorMessage = get(error, errorDetail?.messageDetails?.field);
}

const stats = errorDetail?.stat;

return { status: errorStatus, errorMessage, stats };
return { status: errorStatus, errorMessage, stats: errorDetail?.stat };
};

const errorResponseHandler = (destResponse) => {
Expand Down

0 comments on commit 387a46b

Please sign in to comment.