chore: debug

This commit is contained in:
Derrick Hammer 2023-12-28 01:46:51 -05:00
parent 11a6027e0c
commit f2aee7482b
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 5 additions and 0 deletions

View File

@ -17,6 +17,11 @@ for (const siteName in sites) {
sub.listen((entry) => { sub.listen((entry) => {
const cid = CID.fromRegistry(entry.data); const cid = CID.fromRegistry(entry.data);
console.log({
cid: cid.toString(),
site: siteName,
});
try { try {
httpClient.post("/api/events/siteUpdateReceived", { httpClient.post("/api/events/siteUpdateReceived", {
cid: cid.toString(), cid: cid.toString(),