mirror of
https://github.com/notherealmarco/WASAPhoto.git
synced 2025-05-06 04:42:36 +02:00
Fixed a lot of bad queries
This commit is contained in:
parent
a3cf4f17f8
commit
233217beb9
15 changed files with 48 additions and 30 deletions
|
@ -23,7 +23,7 @@ type _respbody struct {
|
|||
func (rt *_router) PostSession(w http.ResponseWriter, r *http.Request, ps httprouter.Params, ctx reqcontext.RequestContext) {
|
||||
|
||||
var request _reqbody
|
||||
err := json.NewDecoder(r.Body).Decode(&request) //todo: capire se serve close
|
||||
err := json.NewDecoder(r.Body).Decode(&request)
|
||||
|
||||
var uid string
|
||||
if err == nil { // test if user exists
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue