Skip to content

Commit cb17af6

Browse files
committed
task to tasks
1 parent bd1b4f8 commit cb17af6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

client/src/pages/focus.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ const CountdownTimer = () => {
5454
useEffect(() => {
5555
async function fetchTask() {
5656
try {
57-
const response = await fetch("http://localhost:8000/api/planner/task/");
57+
const response = await fetch(
58+
"http://localhost:8000/api/planner/tasks/",
59+
);
5860
if (!response.ok) {
5961
throw new Error(`Response status: ${response.status}`);
6062
}

0 commit comments

Comments
 (0)