File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments