Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

Investigate router class #103

Closed
maxneuvians opened this issue Aug 24, 2021 · 1 comment · Fixed by #106
Closed

Investigate router class #103

maxneuvians opened this issue Aug 24, 2021 · 1 comment · Fixed by #106

Comments

@maxneuvians
Copy link
Contributor

Potentially related to #55. This code:

https://github.com/cds-snc/scan-websites/blob/main/api/main.py#L17-L43

looks a lot like a router, so we might as well extract it and make it its own thing before if becomes too unwieldy.

@mohdnr mohdnr linked a pull request Sep 7, 2021 that will close this issue
@mohdnr
Copy link
Contributor

mohdnr commented Sep 7, 2021

Refactored and code replaced with a APIRouter

@mohdnr mohdnr closed this as completed Sep 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants