mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-08-26 11:55:50 -05:00
[PR #231] [MERGED] Accept PUT and POST on /settings/domains, returns JsonResult, fixes saving Custom Equivalent Domains #20880
Reference in New Issue
Block a user
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/231
Author: @janost
Created: 10/22/2018
Status: ✅ Merged
Merged: 10/22/2018
Merged by: @dani-garcia
Base:
master← Head:fix-save-equivalent-domains📝 Commits (1)
c32c65dAccept PUT and POST on /settings/domains, returns JsonResult, fixes saving Custom Equivalent Domains📊 Changes
1 file changed (+8 additions, -2 deletions)
View changed files
📝
src/api/core/mod.rs(+8 -2)📄 Description
Fixes #230.
It seems the Web Vault actually expects a JSON instead of any empty response too, so I changed that as well. Seems to work as expected.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.