~singpolyma/sgx-aa

ccd22183db1b8b59762238c4e97e6479618d1d08 — Stephen Paul Weber 6 months ago cf75fb1 master
Remove debug logs now that it work
1 files changed, 0 insertions(+), 2 deletions(-)

M main.go
M main.go => main.go +0 -2
@@ 79,7 79,6 @@ func healthcheckHandler(w http.ResponseWriter, r *http.Request) {

func srrHandler(w http.ResponseWriter, r *http.Request) {
	r.ParseForm()
	log.Println("SRR", r.Form)

	stanzaId, exist := r.PostForm["stanzaId"]
	if !exist || len(stanzaId) != 1 {


@@ 171,7 170,6 @@ func srrHandler(w http.ResponseWriter, r *http.Request) {

func inboundSMSHandler(w http.ResponseWriter, r *http.Request) {
	r.ParseForm()
	log.Println("Inbound SMS", r.PostForm)
	tel, exist := r.PostForm["da"]
	if !exist || len(tel) != 1 {
		http.Error(w, "ERR: bad da", 400)