unfoldingWord / tc-create-app

translationCore Create
https://create.translationcore.com/
MIT License
0 stars 5 forks source link

Fix check for TSV9s when user branch does not exist #1464

Closed superdav42 closed 1 year ago

superdav42 commented 1 year ago

https://github.com/unfoldingWord/tc-create-app/issues/1429

Code was supposed to check user branch for TSV9 files and fall back to master but the fall back was not working because it was checking for error 404 and it was sending error 400. Changed the check to not 200 and it's working great now.