File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,11 +31,11 @@ type ServiceAttachment struct {
3131// MessageService is handles message requests
3232type MessageService struct {
3333 service
34- logger telemetry.Logger
35- tracer telemetry.Tracer
36- eventDispatcher * EventDispatcher
37- phoneService * PhoneService
38- repository repositories.MessageRepository
34+ logger telemetry.Logger
35+ tracer telemetry.Tracer
36+ eventDispatcher * EventDispatcher
37+ phoneService * PhoneService
38+ repository repositories.MessageRepository
3939 attachmentRepository repositories.AttachmentRepository
4040 apiBaseURL string
4141}
Original file line number Diff line number Diff line change @@ -48,8 +48,8 @@ func NewMessageHandlerValidator(
4848}
4949
5050const (
51- maxAttachmentCount = 10
52- maxAttachmentSize = (3 * 1024 * 1024 ) / 2 // 1.5 MB per attachment
51+ maxAttachmentCount = 10
52+ maxAttachmentSize = (3 * 1024 * 1024 ) / 2 // 1.5 MB per attachment
5353 maxTotalAttachmentSize = 3 * 1024 * 1024 // 3 MB total
5454)
5555
You can’t perform that action at this time.
0 commit comments