Rough implementation of logos in navigation bar added
This commit is contained in:
@@ -303,6 +303,7 @@ app.post('/favteam/add', async (req, res, next) => {
|
||||
return res.status(500).json({ error: 'Error adding favorite team' });
|
||||
}
|
||||
});
|
||||
|
||||
app.post('/favteam/remove', async (req, res) => {
|
||||
try {
|
||||
const { userID, teamID } = req.body;
|
||||
@@ -355,7 +356,6 @@ async function getFavoriteTeamsForUser(userId) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// *****************************************************
|
||||
// <!-- Section 5 : Start Server-->
|
||||
// *****************************************************
|
||||
|
||||
Reference in New Issue
Block a user