auth
All checks were successful
Build Org Website / build (push) Successful in 49s

This commit is contained in:
2026-05-09 00:26:04 +01:00
parent a504eb9179
commit a18debbf21
327 changed files with 66 additions and 16 deletions

View File

@@ -38,7 +38,7 @@
wall.innerHTML = "<p>Loading notes…</p>";
try {
const res = await fetch("/api/notes");
const res = await window.orgAuth.fetch("/api/notes");
if (!res.ok) throw new Error("Failed to fetch notes");
const notes = await res.json();
@@ -69,7 +69,7 @@
form.querySelector("button").disabled = true;
try {
const res = await fetch("/api/notes", {
const res = await window.orgAuth.fetch("/api/notes", {
method: "POST",
headers: {
"Content-Type": "application/json",