Commit d24dccef authored by dbourdere's avatar dbourdere 🤸
Browse files

fix

parent 87126b7f
......@@ -3,10 +3,10 @@
namespace Aboutgoods\KonnectBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\Routing\Annotation\Route;
class ServiceController extends AbstractController
class ServiceController extends Controller
{
/**
* @Route("/services/menu", name="services.menu")
......
......@@ -22,7 +22,7 @@ class KonnectApi
public function resetCompanySecret($companyId, $config) {
$client = new Client();
$config = $config['authentication'];
$response = $client->get($config['url'] . "/api/company/$companyId/reset_token", [
$response = $client->get($config['url'] . "/api/company/$companyId/reset_secret", [
'auth' => [
$config['token'],
$config['secret']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment