request->post('type'); $data = AppVersion::getLastStable($type); if ($data) { $data['log'] = json_decode($data['log']); } return $data; } }