1
0
mirror of https://github.com/bitwarden/server synced 2025-12-25 20:53:16 +00:00

Enable custom IDs for bindings (#6340)

* Enable custom IDs for bindings

* Remove description
This commit is contained in:
Daniel García
2025-09-18 13:41:19 +02:00
committed by GitHub
parent 780400fcf9
commit 866a572d26
4 changed files with 6 additions and 9 deletions

View File

@@ -199,7 +199,7 @@ public class CollectionsController : Controller
[HttpPost("{id}")]
[Obsolete("This endpoint is deprecated. Use PUT /{id} instead.")]
public async Task<CollectionResponseModel> Post(Guid orgId, Guid id, [FromBody] UpdateCollectionRequestModel model)
public async Task<CollectionResponseModel> PostPut(Guid orgId, Guid id, [FromBody] UpdateCollectionRequestModel model)
{
return await Put(orgId, id, model);
}

View File

@@ -115,7 +115,7 @@ public class DevicesController : Controller
[HttpPost("{id}")]
[Obsolete("This endpoint is deprecated. Use PUT /{id} instead.")]
public async Task<DeviceResponseModel> Post(string id, [FromBody] DeviceRequestModel model)
public async Task<DeviceResponseModel> PostPut(string id, [FromBody] DeviceRequestModel model)
{
return await Put(id, model);
}