-
Notifications
You must be signed in to change notification settings - Fork 270
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
🐛 edit customer api env variable name to sync with cli #1542
Conversation
307cf27
to
e5fdf11
Compare
e5fdf11
to
ff044e4
Compare
46efe1c
to
9ef4f92
Compare
PUBLIC_CUSTOMER_ACCOUNT_API_CLIENT_ID: string; | ||
PUBLIC_CUSTOMER_ACCOUNT_API_URL: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
feels a bit funny that we are manually updating these.
@frandiox does CLI have a type defined when it create the .env
file already that can be imported?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not at the moment. One thing I wanted to do was extracting these types in env.generated.d.ts
or similar and generate the file automatically when .env
changes but never got to do it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, future task then!
9ef4f92
to
416877c
Compare
This comment has been minimized.
This comment has been minimized.
416877c
to
1d92b56
Compare
WHY are these changes introduced?
If user use
h2 link/env pull
to create environment variables the customer-api example will break.WHAT is this pull request doing?
Update the two variables name in the example to sync up with the variable name cli create.
Also updated the ngrok comment so you never need to update
package.json
againHOW to test your changes?
Post-merge steps
Checklist