Skip to content

Commit

Permalink
fix: removed commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
aashishmalik committed Mar 14, 2024
1 parent aaa835f commit e88fa6c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/v1/destinations/algolia/networkHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ const responseHandler = (responseParams) => {
const { destinationResponse, rudderJobMetadata } = responseParams;
const message = `[ALGOLIA Response V1 Handler] - Request Processed Successfully`;
const responseWithIndividualEvents = [];
// response:
// {status: 200, message: 'OK'}
// {response:'[ENOTFOUND] :: DNS lookup failed', status: 400}
// destinationResponse = {
// response: {"status": 422, "message": "EventType must be one of \"click\", \"conversion\" or \"view\""}, status: 422
// }
const { response, status } = destinationResponse;

if (isHttpStatusSuccess(status)) {
Expand Down

0 comments on commit e88fa6c

Please sign in to comment.