Skip to content

Commit 9320f0a

Browse files
committed
updates to the api code incorperating one of the new register functions;
1 parent f0c5f04 commit 9320f0a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public static function apiRegister(GenericEvent $event)
7979
* @var \ServiceHandler $subject
8080
*/
8181
//$subject = $event->getSubject();
82-
//api_register_array('license_types', 'complexType', 'array', '', 'SOAP-ENC:Array', [], [['ref' => 'SOAP-ENC:arrayType', 'wsdl:arrayType' => 'license_type[]']], 'license_type');
82+
api_register_array_array('license_types', 'license_type');
8383
api_register_array('license_type', ['services_id' => 'int', 'services_name' => 'string', 'services_cost' => 'float']);
8484
api_register_array('buy_license_return', ['status' => 'string', 'status_text' => 'string', 'invoice' => 'int', 'cost' => 'float']);
8585
api_register_array('change_license_ip_return', ['status' => 'string', 'status_text' => 'string']);

0 commit comments

Comments
 (0)