Skip to content

Commit

Permalink
remove protectionCode in validator (#119)
Browse files Browse the repository at this point in the history
* Fix copy-paste mistake, successfully tested

* protectionCode not required
  • Loading branch information
ryazanov13 authored and baibaratsky committed Mar 17, 2018
1 parent 79ecc41 commit 64b52ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Api/X/X5/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function sign(Signer $requestSigner = null)
protected function getValidationRules()
{
return array(
RequestValidator::TYPE_REQUIRED => array('transactionId', 'protectionCode'),
RequestValidator::TYPE_REQUIRED => array('transactionId'),
RequestValidator::TYPE_DEPEND_REQUIRED => array(
'signerWmid' => array('authType' => array(self::AUTH_CLASSIC)),
),
Expand Down

0 comments on commit 64b52ab

Please sign in to comment.