Index: backend/controllers/forumController.js
===================================================================
--- backend/controllers/forumController.js	(revision 03a2c9ad7bac0a74cdb2d6853e11191dfd397df5)
+++ backend/controllers/forumController.js	(revision cd1607eacc1ded866289d91af60680023b374572)
@@ -3,11 +3,12 @@
 // Placeholder for forum post functions
 const createForumPost = async (req, res) => {
-  const { title, content, authorId, authorName } = req.body
-  console.log(title,content,authorId,authorName)
+  const { title, content, authorId, authorName } = req.body;
 
   try {
     const { data, error } = await supabase
       .from('forum_posts')
-      .insert([{ title, content, author_id: authorId, author_name: authorName }])
+      .insert([
+        { title, content, author_id: authorId, author_name: authorName },
+      ])
       .select();
 
@@ -17,5 +18,7 @@
     }
 
-    res.status(201).json({ message: 'Forum post created successfully', post: data[0] });
+    res
+      .status(201)
+      .json({ message: 'Forum post created successfully', post: data[0] });
   } catch (err) {
     console.error('Server error:', err);
@@ -68,5 +71,7 @@
     }
 
-    res.status(200).json({ message: 'Forum post updated successfully', post: data[0] });
+    res
+      .status(200)
+      .json({ message: 'Forum post updated successfully', post: data[0] });
   } catch (err) {
     console.error('Server error:', err);
@@ -79,8 +84,5 @@
 
   try {
-    const { error } = await supabase
-      .from('forum_posts')
-      .delete()
-      .eq('id', id);
+    const { error } = await supabase.from('forum_posts').delete().eq('id', id);
 
     if (error) {
@@ -104,5 +106,12 @@
     const { data, error } = await supabase
       .from('comments')
-      .insert([{ post_id: postId, content, author_id: authorId, author_name: authorName }])
+      .insert([
+        {
+          post_id: postId,
+          content,
+          author_id: authorId,
+          author_name: authorName,
+        },
+      ])
       .select();
 
@@ -112,5 +121,7 @@
     }
 
-    res.status(201).json({ message: 'Comment created successfully', comment: data[0] });
+    res
+      .status(201)
+      .json({ message: 'Comment created successfully', comment: data[0] });
   } catch (err) {
     console.error('Server error:', err);
@@ -161,5 +172,7 @@
     }
 
-    res.status(200).json({ message: 'Comment updated successfully', comment: data[0] });
+    res
+      .status(200)
+      .json({ message: 'Comment updated successfully', comment: data[0] });
   } catch (err) {
     console.error('Server error:', err);
