ApiEmailUser: Mark the subject as a required parameter
This matches the behavior of Special:EmailUser. Bug: T303862 Change-Id: I445a9388a573383ffbbe451be1f925045d15a556
This commit is contained in:
parent
27ba493b70
commit
7be2e3e38d
1 changed files with 4 additions and 1 deletions
|
|
@ -95,7 +95,10 @@ class ApiEmailUser extends ApiBase {
|
|||
ApiBase::PARAM_TYPE => 'string',
|
||||
ApiBase::PARAM_REQUIRED => true
|
||||
],
|
||||
'subject' => null,
|
||||
'subject' => [
|
||||
ApiBase::PARAM_TYPE => 'string',
|
||||
ApiBase::PARAM_REQUIRED => true
|
||||
],
|
||||
'text' => [
|
||||
ApiBase::PARAM_TYPE => 'text',
|
||||
ApiBase::PARAM_REQUIRED => true
|
||||
|
|
|
|||
Loading…
Reference in a new issue