Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(rest-api-client): throw an error if location is undefined on browser #1590

Merged
merged 3 commits into from
Jun 27, 2022

Conversation

tasshi-me
Copy link
Member

@tasshi-me tasshi-me commented Jun 27, 2022

Why

fixes #934

What

  • throw error if location is not defined on browser environments

How to test

N/A

Checklist

  • Read CONTRIBUTING.md
  • Updated documentation if it is required.
  • Added tests if it is required.
  • Passed yarn lint and yarn test on the root directory.

@github-actions github-actions bot added the pkg: rest-api-client @kintone/rest-api-client label Jun 27, 2022
@tasshi-me tasshi-me changed the title fix(rest-api-client): throw an error if location undefined on browser fix(rest-api-client): throw an error if location is undefined on browser Jun 27, 2022
@tasshi-me tasshi-me marked this pull request as ready for review June 27, 2022 05:03
@tasshi-me tasshi-me requested review from a team and ueokande and removed request for a team June 27, 2022 05:03
@ueokande ueokande merged commit adc67c5 into master Jun 27, 2022
@ueokande ueokande deleted the fix/throw-error-if-location-not-defined branch June 27, 2022 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: rest-api-client @kintone/rest-api-client
Projects
None yet
Development

Successfully merging this pull request may close these issues.

buildBaseUrl() throws an error when location is undefined and not passing baseUrl
2 participants