1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 16:12:49 -05:00

Move renew endpoint to fix overlapping endpoint issue (#1266)

This commit is contained in:
Matt Gibson
2021-04-12 09:44:45 -05:00
committed by GitHub
parent 83e68bce06
commit b68c841e56

View File

@ -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;