Updated changelog
parent
e5a630e990
commit
148ec3ab47
|
@ -12,6 +12,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
* Better environment variable support
|
||||
* Each env var can now be provided from a file by appending it with `_FILE`
|
||||
& passing the path to the file as value
|
||||
* Revamped web framework
|
||||
* All routes now return proper JSON where applicable & the correct status
|
||||
codes
|
||||
|
||||
## Added
|
||||
|
||||
|
|
|
@ -231,6 +231,7 @@ pub fn (mut ctx Context) json<T>(status http.Status, j T) Result {
|
|||
|
||||
json_s := json.encode(j)
|
||||
ctx.send_response_to_client('application/json', json_s)
|
||||
|
||||
return Result{}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue