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:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user