mirror of
https://github.com/bitwarden/server.git
synced 2025-04-28 08:12:22 -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);
|
await _cipherService.SaveDetailsAsync(cipher, user.Id, model.Cipher.LastKnownRevisionDate, model.CollectionIds, cipher.OrganizationId.HasValue);
|
||||||
var response = new CipherResponseModel(
|
return await Get(cipher.Id);
|
||||||
cipher,
|
|
||||||
user,
|
|
||||||
await _applicationCacheService.GetOrganizationAbilitiesAsync(),
|
|
||||||
_globalSettings);
|
|
||||||
return response;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[HttpPost("admin")]
|
[HttpPost("admin")]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user