mirror of
https://github.com/bitwarden/server.git
synced 2025-07-18 08:00:59 -05:00
Run dotnet format (#1764)
This commit is contained in:
@ -85,7 +85,7 @@ namespace Bit.Api.Public.Controllers
|
||||
[ProducesResponseType(typeof(CollectionResponseModel), (int)HttpStatusCode.OK)]
|
||||
[ProducesResponseType(typeof(ErrorResponseModel), (int)HttpStatusCode.BadRequest)]
|
||||
[ProducesResponseType((int)HttpStatusCode.NotFound)]
|
||||
public async Task<IActionResult> Put(Guid id, [FromBody]CollectionUpdateRequestModel model)
|
||||
public async Task<IActionResult> Put(Guid id, [FromBody] CollectionUpdateRequestModel model)
|
||||
{
|
||||
var existingCollection = await _collectionRepository.GetByIdAsync(id);
|
||||
if (existingCollection == null || existingCollection.OrganizationId != _currentContext.OrganizationId)
|
||||
|
Reference in New Issue
Block a user