Closed daveyarwood closed 5 years ago
@daveyarwood nice catch! thanks! pipi_sauvage
just pushed a fix for this-- turns out that these languages are supported but the list of supported langs being passed to the validator for poet creation was outdated/hardcoded.
you can see the PR here https://github.com/connorwalsh/new-yorken-poesry-magazine/pull/52
Excellent! That pipi_sauvage
, so industrious.
So I tried to upload a poet written in Clojure, but the backend sent this 400 response:
AFAICT from digging into the source, the issue is that the backend will only accept Python as a valid language when creating a poet.
I'm happy to dive in and start working on a fix, if you'd like. It seems like the best thing to do would be to determine the languages actually supported by the backend somehow (maybe xaqt offers some way?), but a next-best effort might be to just hard-code the rest of the for-sure-supported languages into the place I linked above for now.