Skip to content

Commit

Permalink
fix(utilities): for historical changes
Browse files Browse the repository at this point in the history
  • Loading branch information
steveoh committed Jul 25, 2024
1 parent 4e7e43b commit 69c9b0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/utilities/src/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const geocode = async (
}

return {
status: error.response?.status, // response is undefined when got throws
status: error.response?.status,
message: response?.error ?? response?.message,
};
}
Expand Down Expand Up @@ -119,7 +119,7 @@ export const search = async (
}

return {
status: error.response?.status, // response is undefined when got throws
status: error.response?.status,
message: response?.error ?? response?.message,
};
}
Expand Down

0 comments on commit 69c9b0b

Please sign in to comment.