Closed chenkins closed 1 month ago
The changes in VaultResource.java
involve adjusting the handling of response types for methods related to unlocking a vault. Specifically, the @Produces(MediaType.TEXT_PLAIN)
annotation was removed from the legacyUnlock
method, and the unlock
method now explicitly sets the response type to MediaType.TEXT_PLAIN_TYPE
when returning the vault key.
File Path | Change Summary |
---|---|
backend/src/main/java/org/cryptomator/hub/... |
Removed @Produces(MediaType.TEXT_PLAIN) from legacyUnlock method. |
backend/src/main/java/org/cryptomator/hub/... |
Set response type to MediaType.TEXT_PLAIN_TYPE in unlock method. |
In the vault where secrets lie,
Code was changed, oh my, oh my!
Plain text now it will declare,
Unlocking vaults with utmost care.
Legacy ways, we bid adieu,
Embrace the new, a clearer view.
CodeRabbit cheers, hip-hip-hooray,
For changes made in such a way! 🐰✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
We will use this fix for now, but I have opened in upstream issue as well: https://github.com/quarkusio/quarkus/issues/42729
Fix #265