update version

This commit is contained in:
Irfan 2019-11-17 22:14:58 -08:00
parent 9f6ee54cc3
commit a3ce8dbe5c
2 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@ require_once __DIR__.'/../vendor/autoload.php';
*/
defined('BLACKLIST_PATH') or define('BLACKLIST_PATH', __DIR__.'/../storage/app/blacklist.json');
defined('JIKAN_PARSER_VERSION') or define('JIKAN_PARSER_VERSION', Versions::getVersion('jikan-me/jikan'));
defined('JIKAN_REST_API_VERSION') or define('JIKAN_REST_API_VERSION', '3.4');
/*

View File

@ -5,7 +5,7 @@ $router->get('/', function () use ($router) {
return response()->json([
'Author' => '@irfanDahir',
'Discord' => 'https://discord.gg/4tvCr36',
'Version' => '3.4-RC2',
'Version' => JIKAN_REST_API_VERSION,
'JikanPHP' => JIKAN_PARSER_VERSION,
'Website' => 'https://jikan.moe',
'Docs' => 'https://jikan.docs.apiary.io',