Skip to content

Commit 6387eaf

Browse files
Revert "send a proper response from auth service (#3)" (#4)
This reverts commit 8e75539.
1 parent 8e75539 commit 6387eaf

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

internal/auth/service.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package auth
22

33
import (
44
"encoding/json"
5-
"fmt"
65
"io"
76
"net/http"
87

@@ -28,7 +27,4 @@ func HandleAuth(w http.ResponseWriter, r *http.Request) {
2827
utils.HandleError(w, err)
2928
return
3029
}
31-
32-
w.Header().Set("content-type", "text/plain")
33-
fmt.Fprintf(w, "ok")
3430
}

0 commit comments

Comments
 (0)