From 36d7246a34f39c1facb4f35dcd7dc6043a2e1b66 Mon Sep 17 00:00:00 2001 From: Daniel Wang Date: Wed, 9 Oct 2024 09:20:10 +0800 Subject: [PATCH] test --- onesignal/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/onesignal/index.html b/onesignal/index.html index 7bb9761..842e67d 100644 --- a/onesignal/index.html +++ b/onesignal/index.html @@ -19,8 +19,8 @@ await OneSignal.init({ appId: "d05bc6c0-138a-4b4f-b0f9-b7ea01d40312", }); - document.getElementById('onesignal_id').value = OneSignal.User.onesignalId; - document.getElementById('subscription_id').value = OneSignal.User.PushSubscription.id; + document.getElementById('onesignal_id').innerText = OneSignal.User.onesignalId; + document.getElementById('subscription_id').innerText = OneSignal.User.PushSubscription.id; });