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

The initial call to /snyk project list <Org> fails #5

Open
1 task
carwin opened this issue Sep 11, 2022 · 1 comment
Open
1 task

The initial call to /snyk project list <Org> fails #5

carwin opened this issue Sep 11, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@carwin
Copy link
Owner

carwin commented Sep 11, 2022

Description

The initial call to /snyk project list <org name> fails because we look in our own DB for projects first and make users manually call the API via the "Refresh Projects" button.

Resolution

To handle this we should probably do an initial check to see if the given Snyk Org's local project data is null and, if it is, go ahead and initiate a call to the Snyk API in the background.

Tasks

  • Create the initial check described in the Resolution section.
@carwin carwin added this to the MVP Release milestone Sep 11, 2022
@carwin carwin self-assigned this Sep 11, 2022
@carwin carwin changed the title The initial call to /snyk project list <name> fails The initial call to /snyk project list <Org> fails Sep 11, 2022
@carwin
Copy link
Owner Author

carwin commented Sep 17, 2022

I think the MVP can live without this - definitely a useful thing, but we can simply allow the users to interact with the UI elements we've provided to refresh their projects if any are missing. That's the whole point.

@carwin carwin removed this from the MVP Release milestone Sep 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

1 participant