mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-09 19:16:56 +00:00
Add linter whitespace (#531)
This commit is contained in:
@@ -82,7 +82,6 @@ func ParseRequest(r *http.Request, fn SecretFunc) (*Token, error) {
|
||||
}
|
||||
|
||||
func CheckCsrf(r *http.Request, fn SecretFunc) error {
|
||||
|
||||
// get and options requests are always
|
||||
// enabled, without CSRF checks.
|
||||
switch r.Method {
|
||||
|
Reference in New Issue
Block a user