From 7fc92fb128a0fda554507d4c517985db0b5daf78 Mon Sep 17 00:00:00 2001 From: denisdulici Date: Wed, 18 Dec 2019 16:06:27 +0300 Subject: [PATCH] formatting --- app/Utilities/Updater.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Utilities/Updater.php b/app/Utilities/Updater.php index d03392049..6da6ee3d3 100644 --- a/app/Utilities/Updater.php +++ b/app/Utilities/Updater.php @@ -35,7 +35,7 @@ class Updater if ($alias == 'core') { $url = 'core/download/' . $new . '/' . $info['php'] . '/' . $info['mysql']; } else { - $url = 'apps/' . $alias . '/download/' . $new . '/' . $info['akaunting'] . '/' . $info['token']; + $url = 'apps/' . $alias . '/download/' . $new . '/' . $info['akaunting'] . '/' . $info['api_key']; } if (!$response = static::getResponse('GET', $url, ['timeout' => 50, 'track_redirects' => true])) {