rails / request.js

MIT License
390 stars 28 forks source link

Fix renderTurboStream return #18

Closed excid3 closed 3 years ago

excid3 commented 3 years ago

15 incorrectly refactored the renderTurboStream method so that it always returns a rejected Promise.

This fixes that by returning properly when the contentType is correct.

excid3 commented 3 years ago

And updated @marcelolx 👍

marcelolx commented 3 years ago

Thanks @excid3

guillaumebriday commented 3 years ago

oops sorry @excid3, that is my fault