Skip to content

Commit ccede96

Browse files
committed
Comment out print statement that returns as part of json
1 parent 62ba1e4 commit ccede96

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

services/question-service/handlers/create.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package handlers
33
import (
44
"context"
55
"encoding/json"
6-
"fmt"
76
"log"
87
"net/http"
98
"question-service/models"
@@ -89,5 +88,5 @@ func (s *Service) CreateQuestion(w http.ResponseWriter, r *http.Request) {
8988
w.Header().Set("Content-Type", "application/json")
9089
json.NewEncoder(w).Encode(question)
9190

92-
fmt.Fprintf(w, "Question with ID %s created successfully", question.DocRefID)
91+
// fmt.Fprintf(w, "Question with ID %s created successfully", question.DocRefID)
9392
}

0 commit comments

Comments
 (0)