mirror of
https://github.com/bitwarden/server.git
synced 2025-04-06 05:28:15 -05:00
Move renew endpoint to fix overlapping endpoint issue (#1266)
This commit is contained in:
parent
83e68bce06
commit
b68c841e56
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user