diff --git a/js/posts.js b/js/posts.js index 13b95a0..41a6279 100644 --- a/js/posts.js +++ b/js/posts.js @@ -59,7 +59,8 @@ async function postMessage() { } async function update_pid() { - let r = (await fetch("/api/pid")).json() + let r = await (await fetch("/api/pid")).json() + console.log("new pid info: ",r) if(r.error) { //an error occurred if(r.error == "you cannot access the api without being logged in") {