Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/sync/src/ drwxr-xr-x | |
| Viewing file: Select action/file-type: const {sendMessage} = require("./firebase/send");
require("dotenv").config({ path: "../.env", quiet: true });
var payload={
"fullDocument":{
"_id":"1757921278455",
"vendor_id":"88000001",
"tokens":["cq3bNl6KTASX8QhciyRW0i:APA91bGNm5bP2FCouS3_r6nbDkkRTvJszA_nku6fUspkj3kTnMAcEqQheSnYmZ61CdbLgTw0K8ezpwzgsnz7y2eY14Ui1xTdWUUsOv4gknUaCmoUO-PG3pg00"]
},
"operationType":"delete",
// "vendor_id":"88000001",
"collection":"DeviceToken",
"wallTime":"2025-09-15T11:02:17.578Z"
};
sendMessage(88000001, payload).then(res=>console.log(res)).catch(err=>console.log(err)); |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0191 ]-- |