Index: trunk/extensions/MoodBar/ApiFeedbackDashboard.php |
— | — | @@ -57,7 +57,10 @@ |
58 | 58 | ApiBase::PARAM_TYPE => 'integer', |
59 | 59 | ), |
60 | 60 | |
61 | | - 'reason' => null, |
| 61 | + 'reason' => array( |
| 62 | + ApiBase::PARAM_REQUIRED => true, |
| 63 | + ApiBase::PARAM_TYPE => 'string' |
| 64 | + ), |
62 | 65 | 'token' => array( |
63 | 66 | ApiBase::PARAM_REQUIRED => true, |
64 | 67 | ), |