mirror of
https://github.com/bitwarden/server
synced 2025-12-15 15:53:59 +00:00
Move renew endpoint to fix overlapping endpoint issue (#1266)
This commit is contained in:
@@ -601,7 +601,7 @@ namespace Bit.Api.Controllers
|
||||
};
|
||||
}
|
||||
|
||||
[HttpGet("{id}/attachment/{attachmentId}")]
|
||||
[HttpGet("{id}/attachment/{attachmentId}/renew")]
|
||||
public async Task<AttachmentUploadDataResponseModel> RenewFileUploadUrl(string id, string attachmentId)
|
||||
{
|
||||
var userId = _userService.GetProperUserId(User).Value;
|
||||
|
||||
Reference in New Issue
Block a user