Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
Merge branch 'nick-merging-frontend-to-backend' into debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
mirmirmirr committed Nov 29, 2024
2 parents eb17cbc + 746fa99 commit e2fe440
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/pages/Results.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,14 @@ export default function Result() {
useEffect(() => {
if (eventCode) {
const credentials = {
email: '[email protected]',
password: '123',
// email: '[email protected]',
// password: '123',
event_code: eventCode,
};

// check_user(credentials);
check_user(credentials);
console.log(credentials);
console.log("RANNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN")

// First, fetch event details
fetch('http://tomeeto.cs.rpi.edu:8000/event_details', {
Expand Down Expand Up @@ -225,12 +226,12 @@ export default function Result() {

// Fetch results data
const credentials = {
email: '[email protected]',
password: '123',
// email: '[email protected]',
// password: '123',
event_code: eventCode,
};

// check_user(credentials);
check_user(credentials);
console.log(credentials);

try {
Expand Down

0 comments on commit e2fe440

Please sign in to comment.