Skip to content

Commit 918ddfd

Browse files
update hostie to service, see wechaty/php-wechaty#14
1 parent bdbdb59 commit 918ddfd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/ding-dong-bot.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
// change dir
2121
// \IO\Github\Wechaty\Util\Logger::$_LOGGER_DIR = "/tmp/";
2222

23-
$token = getenv("WECHATY_PUPPET_HOSTIE_TOKEN");
24-
$endPoint = getenv("WECHATY_PUPPET_HOSTIE_ENDPOINT");
23+
$token = getenv("WECHATY_PUPPET_SERVICE_TOKEN");
24+
$endPoint = getenv("WECHATY_PUPPET_SERVICE_ENDPOINT");
2525
$wechaty = \IO\Github\Wechaty\Wechaty::getInstance($token, $endPoint);
2626
$wechaty->onScan(function($qrcode, $status, $data) {
2727
if($status == 3) {

0 commit comments

Comments
 (0)