From 060170c2fa072cbb6b738683efab5f9ecbcfcbbc Mon Sep 17 00:00:00 2001 From: ghost Date: Tue, 5 Dec 2023 04:25:19 +0200 Subject: [PATCH] fix kevacoin-php api --- src/Controller/ModuleController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Controller/ModuleController.php b/src/Controller/ModuleController.php index 8882740..d0862e8 100644 --- a/src/Controller/ModuleController.php +++ b/src/Controller/ModuleController.php @@ -72,9 +72,9 @@ class ModuleController extends AbstractController // Get wallet namespaces (to enable post module there) $namespaces = []; - foreach ((array) $client->kevaListNamespaces() as $key => $value) + foreach ((array) $client->kevaListNamespaces() as $value) { - $namespaces[] = $key; + $namespaces[] = $value['namespaceId']; } return $this->render(