fix: remove 200->None feature as go-sqlite3 can not process nulls

This commit is contained in:
DarkCat09 2024-07-02 19:37:55 +04:00
parent 850fcc1051
commit 453a6d3c71
Signed by: DarkCat09
GPG key ID: 0A26CD5B3345D6E3

View file

@ -81,9 +81,7 @@ func handler(ctx *fasthttp.RequestCtx) {
}
// -- set status code
if code != 0 {
ctx.Response.SetStatusCode(code)
}
ctx.Response.SetStatusCode(code)
// -- find in FS and read headers+body
path := "storage/" + string(id)