We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd1b4f8 commit cb17af6Copy full SHA for cb17af6
1 file changed
client/src/pages/focus.tsx
@@ -54,7 +54,9 @@ const CountdownTimer = () => {
54
useEffect(() => {
55
async function fetchTask() {
56
try {
57
- const response = await fetch("http://localhost:8000/api/planner/task/");
+ const response = await fetch(
58
+ "http://localhost:8000/api/planner/tasks/",
59
+ );
60
if (!response.ok) {
61
throw new Error(`Response status: ${response.status}`);
62
}
0 commit comments