Skip to content

Commit

Permalink
remove print statement
Browse files Browse the repository at this point in the history
  • Loading branch information
anguyen-yext2 committed Jun 4, 2024
1 parent 6127466 commit c8fa6e1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/validation/ApiResponseValidator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ export class ApiResponseValidator {

private checkForApiErrors(apiResponse: ApiResponse): SearchError | undefined {
if (apiResponse.meta?.errors?.length >= 1) {
apiResponse.meta.errors.map(e => console.log(e));
const error = apiResponse.meta.errors[0];
return new SearchError(error.message, error.code, error.type);
}
Expand Down

0 comments on commit c8fa6e1

Please sign in to comment.