code-gov-api
code-gov-api copied to clipboard
Trim Repo Name?
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
When I sort repos by name, Managing Data... appears as the first repo because of the blank spaces. Would it be a good idea to trim() the repo names from the code.jsons when they are harvested?
Describe the solution you'd like A clear and concise description of what you want to happen. I'm not sure. I'll leave it to you if trimming names is a good idea or maybe not accepting those repos.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. Drop repos with blanks in from of name
Additional context
Add any other context or screenshots about the feature request here.

Anyway, I'm still going to do the trimming client side, just thought it might be useful to trim on the backend in case other people are consuming the API and do sorting.