mirror of
https://github.com/bitwarden/server.git
synced 2025-04-06 05:28:15 -05:00
RequestSizeLimit for attachment uploads
This commit is contained in:
parent
162150691c
commit
5a9923092a
@ -415,6 +415,7 @@ namespace Bit.Api.Controllers
|
|||||||
}
|
}
|
||||||
|
|
||||||
[HttpPost("{id}/attachment/{attachmentId}/share")]
|
[HttpPost("{id}/attachment/{attachmentId}/share")]
|
||||||
|
[RequestSizeLimit(105_906_176)]
|
||||||
[DisableFormValueModelBinding]
|
[DisableFormValueModelBinding]
|
||||||
public async Task PostAttachmentShare(string id, string attachmentId, Guid organizationId)
|
public async Task PostAttachmentShare(string id, string attachmentId, Guid organizationId)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user