Browse Source

fix kevacoin-php api

main
ghost 1 year ago
parent
commit
060170c2fa
  1. 4
      src/Controller/ModuleController.php

4
src/Controller/ModuleController.php

@ -72,9 +72,9 @@ class ModuleController extends AbstractController
// Get wallet namespaces (to enable post module there) // Get wallet namespaces (to enable post module there)
$namespaces = []; $namespaces = [];
foreach ((array) $client->kevaListNamespaces() as $key => $value) foreach ((array) $client->kevaListNamespaces() as $value)
{ {
$namespaces[] = $key; $namespaces[] = $value['namespaceId'];
} }
return $this->render( return $this->render(

Loading…
Cancel
Save