make string representation of token more human readable (and expected)
This commit is contained in:
Родитель
7dc729db9d
Коммит
c1e2073014
|
@ -16,7 +16,7 @@ service.on('connected', function() {
|
|||
});
|
||||
|
||||
service.on('transmitted', function(notification, device) {
|
||||
console.log("Notification transmitted to:" + device.token.toString());
|
||||
console.log("Notification transmitted to:" + device.token.toString('hex'));
|
||||
});
|
||||
|
||||
service.on('transmissionError', function(errCode, notification, device) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче