diff --git a/src/agreements_api.go b/src/agreements_api.go index 36fed034..7f6e1af9 100644 --- a/src/agreements_api.go +++ b/src/agreements_api.go @@ -352,6 +352,7 @@ func (e mainEnv) getUserAgreement(w http.ResponseWriter, r *http.Request, ps htt } if exists == false { returnError(w, r, "not found", 404, nil, event) + return } userTOKEN := "" if mode == "token" {