mirror of
https://github.com/bitwarden/server.git
synced 2025-04-27 15:52:13 -05:00
return newly created cipher
This commit is contained in:
parent
2ea0377dfc
commit
babe66d51d
@ -176,12 +176,7 @@ public class CiphersController : Controller
|
||||
}
|
||||
|
||||
await _cipherService.SaveDetailsAsync(cipher, user.Id, model.Cipher.LastKnownRevisionDate, model.CollectionIds, cipher.OrganizationId.HasValue);
|
||||
var response = new CipherResponseModel(
|
||||
cipher,
|
||||
user,
|
||||
await _applicationCacheService.GetOrganizationAbilitiesAsync(),
|
||||
_globalSettings);
|
||||
return response;
|
||||
return await Get(cipher.Id);
|
||||
}
|
||||
|
||||
[HttpPost("admin")]
|
||||
|
Loading…
x
Reference in New Issue
Block a user