1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 02:39:46 +02:00

show site platform id

This commit is contained in:
DanieL 2022-12-14 11:35:56 -03:00
parent 2f7e0751dd
commit b36db883eb
4 changed files with 20 additions and 1 deletions

View file

@ -176,7 +176,7 @@ class API extends PluginAbstract {
public function get_api_id($parameters) {
global $global;
$obj = $this->startResponseObject($parameters);
$obj->id = base_convert(md5(encryptString($global['salt'] . 'AVideo')), 16, 36);
$obj->id = getPlatformId();
return new ApiObject("", false, $obj);
}