Skip to content

Commit

Permalink
feat: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
indes committed Jun 20, 2021
1 parent 02f84fe commit 540a064
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions api/notify/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ import (
)

func Handler(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "hello telepush\n")

params := r.URL.Query()
userId, _ := strconv.Atoi(params.Get("u"))
msg := params.Get("m")
Expand All @@ -21,5 +19,4 @@ func Handler(w http.ResponseWriter, r *http.Request) {
}

fmt.Fprintf(w, "send message to %d succes!", userId)

}

0 comments on commit 540a064

Please sign in to comment.