Skip to content

Commit 28550b4

Browse files
authored
Merge pull request #52 from michurin/cosmetics
Cosmetics
2 parents 83cde24 + 7ce82d0 commit 28550b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func NewRequestOptions(r *http.Request) *RequestOptions {
6565
return reqOpt
6666
}
6767

68-
if r.Method != "POST" {
68+
if r.Method != http.MethodPost {
6969
return &RequestOptions{}
7070
}
7171

0 commit comments

Comments
 (0)