Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Multiple entries for the same project #21

Open
rootelement opened this issue Jul 24, 2020 · 1 comment
Open

Multiple entries for the same project #21

rootelement opened this issue Jul 24, 2020 · 1 comment
Assignees

Comments

@rootelement
Copy link
Contributor

This line:
https://github.com/topcoder-platform/topcoder-x-receiver/blob/develop/routes/middlewares/SecurityChecker.js#L22

For https://github.com/topcoder-platform/challenge-api i had to create a new project. In the security lookup, i think it's finding the archived project instead of the active one, and failing. I tested this by changing the archived project's url in the db and then the webhook worked. I think we need to add: active: true as a filter on this lookup, and probably gitlab/azure too.

@rootelement
Copy link
Contributor Author

We might want to check to see, when a new project is created, if the github repo exists already on an active project. The only problem here is if one person enters https://www.github.com, and the other enters https://github.com, will that work the same?

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

No branches or pull requests

2 participants