mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Cleaning up code
Getting rid of request url, call id, method: all of them are redundant and available through env
This commit is contained in:
@@ -47,7 +47,7 @@ func (p *Protocol) UnmarshalJSON(b []byte) error {
|
||||
case HTTP:
|
||||
*p = HTTP
|
||||
case JSON:
|
||||
*p = JSON
|
||||
*p = JSON
|
||||
default:
|
||||
return errInvalidProtocol
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user