Closed reshamas closed 1 year ago
File: https://github.com/data-umbrella/event-board-web/blob/main/src/mirage.js
diff --git a/src/mirage.js b/src/mirage.js
index 6421d63..55942ec 100644
--- a/src/mirage.js
+++ b/src/mirage.js
@@ -80,11 +80,12 @@ export function makeServer({ environment = 'test' } = {}) {
});
this.post('/api/v1/current_user/', () => {
- if (this.isAuthenticated) {
- return new Response(200, { email: 'test@test.com' });
- } else {
- return new Response(400, { status: 'error' });
- }
+ // if (this.isAuthenticated) {
+ // return new Response(200, { email: 'test@test.com' });
+ // } else {
+ // return new Response(400, { status: 'error' });
+ // }
+ return new Response(200, { email: 'test@test.com' });
});
},
});
(END)
This issue may be resolved.
Closing for now. If it returns, we can reopen this issue.
File: https://github.com/data-umbrella/event-board-web/blob/main/src/components/elements/EventCalendarView.jsx
To bypass error when running server, need to comment out line 46: