Skip to content

Commit

Permalink
Update MailCareRequest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
eXorus authored Jan 24, 2024
1 parent 8a33895 commit 4404e66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Http/Requests/MailCareRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ class MailCareRequest extends FormRequest
public function rules()
{
return [
"content_type" => "required|in:message/rfc2822",
'content_type' => 'required|in:message/rfc2822',
];
}

public function prepareForValidation()
{
$this->merge([
"content_type" => $this->headers->get("Content-type"),
'content_type' => $this->headers->get('Content-type'),
]);
}

Expand Down

0 comments on commit 4404e66

Please sign in to comment.