Skip to content

Commit

Permalink
l2 error
Browse files Browse the repository at this point in the history
  • Loading branch information
extedcouD committed Jan 15, 2025
1 parent 09faf80 commit 493a74d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/config/TRV11/on_search/on_search2/generator.ts
Original file line number Diff line number Diff line change
@@ -80,14 +80,12 @@ export async function onSearch2Generator(
return existingPayload;
} catch (err) {
console.error(err);
delete existingPayload.message;
const errorMessage = {
error: {
code: 91201,
message:
"To & from location not serviceable by Mock Seller application",
},
code: 91201,
message: "To & from location not serviceable by Mock Seller application",
};
existingPayload.message = errorMessage;
existingPayload.error = errorMessage;
return existingPayload;
}
}

0 comments on commit 493a74d

Please sign in to comment.