1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-22 12:15:36 +01:00

RequestSizeLimit for attachment uploads

This commit is contained in:
Kyle Spearrin 2018-02-19 08:20:46 -05:00
parent 162150691c
commit 5a9923092a

View File

@ -415,6 +415,7 @@ namespace Bit.Api.Controllers
}
[HttpPost("{id}/attachment/{attachmentId}/share")]
[RequestSizeLimit(105_906_176)]
[DisableFormValueModelBinding]
public async Task PostAttachmentShare(string id, string attachmentId, Guid organizationId)
{