Skip to content

Commit 6f3d082

Browse files
committed
Testing Testing
1 parent 874b264 commit 6f3d082

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/routes/+page.svelte

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,12 +167,14 @@
167167
let cards_due_today: Card[] = $state([]);
168168
let boards_recent: Board[] = $state([]);
169169
async function LoadDaily() {
170-
//const cards_due_today_res = await authFetch(`${kanbanapiurl}card/due-today`, correlationID, { method: "GET" });
171-
//cards_due_today = await cards_due_today_res.json();
172170
const boards_recent_res = await authFetch(`${kanbanapiurl}boards/recent`, correlationID, { method: "GET" });
173171
boards_recent = await boards_recent_res.json();
174-
console.log("Cards due today:", cards_due_today);
175172
console.log("Boards recent:", boards_recent);
173+
174+
const cards_due_today_res = await authFetch(`${kanbanapiurl}card/due-today`, correlationID, { method: "GET" });
175+
console.debug(cards_due_today_res);
176+
cards_due_today = await cards_due_today_res.json();
177+
console.log("Cards due today:", cards_due_today);
176178
}
177179
</script>
178180

0 commit comments

Comments
 (0)