Skip to content

Commit 7ce82d0

Browse files
committed
Cosmetics
1 parent 83cde24 commit 7ce82d0

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)