Skip to content

Commit c6b8ec9

Browse files
committed
Remove html_formated from campaign request
1 parent a238db4 commit c6b8ec9

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

src/Messaging/Request/Message/MessageFormatRequest.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@
1010

1111
#[OA\Schema(
1212
schema: 'MessageFormatRequest',
13-
required: ['html_formated', 'send_format'],
13+
required: ['send_format'],
1414
properties: [
15-
new OA\Property(property: 'html_formated', type: 'boolean', example: true),
1615
new OA\Property(
1716
property: 'send_format',
1817
type: 'string',
@@ -24,16 +23,12 @@ enum: ['html', 'text', 'invite'],
2423
)]
2524
class MessageFormatRequest implements RequestDtoInterface
2625
{
27-
#[Assert\Type('bool')]
28-
public bool $htmlFormated;
29-
3026
#[Assert\Choice(['html', 'text', 'invite'])]
3127
public string $sendFormat;
3228

3329
public function getDto(): MessageFormatDto
3430
{
3531
return new MessageFormatDto(
36-
htmlFormated: $this->htmlFormated,
3732
sendFormat: $this->sendFormat,
3833
);
3934
}

0 commit comments

Comments
 (0)