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

API to fetch RAD Lab modules data from git repo #184

Closed

Conversation

SachinSogoduRaju
Copy link
Contributor

No description provided.

@github-actions
Copy link
Contributor

Thank you for raising the request! RAD Lab admins have been notified.

@github-actions
Copy link
Contributor

Apache 2.0 License check successful!

Comment on lines 7 to 10
const GIT_TOKEN_SECRET_KEY_NAME = envOrFail(
"GIT_TOKEN_SECRET_KEY_NAME",
process.env.GIT_TOKEN_SECRET_KEY_NAME,
)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will the whole app fail to start if this is not provided? Is this optional (as in we by default pull from GoogleCloudPlatform/radlab)? If so, can we move the envOrFail into the handler itself (getModuleDataFromGithub).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This block of code can be moved inside handler function since app will not fail to start if not provided.
Code modified accordingly.

@SachinSogoduRaju
Copy link
Contributor Author

Closing this PR to create a new PR for entire feature including front end and backend code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants