Skip to content

Commit 2f3a6e3

Browse files
committed
Remove print statement that cause error in backend
1 parent cadf15f commit 2f3a6e3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

services/question-service/handlers/update.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package handlers
22

33
import (
44
"encoding/json"
5-
"fmt"
65
"net/http"
76
"question-service/models"
87
"question-service/utils"
@@ -76,5 +75,5 @@ func (s *Service) UpdateQuestion(w http.ResponseWriter, r *http.Request) {
7675
w.Header().Set("Content-Type", "application/json")
7776
json.NewEncoder(w).Encode(question)
7877

79-
fmt.Fprintf(w, "Question with ID %s updated successfully", question.DocRefID)
78+
// fmt.Fprintf(w, "Question with ID %s updated successfully", question.DocRefID)
8079
}

0 commit comments

Comments
 (0)