From a385b60119b97a0aa90f3d60f6bdb73ddd3351cf Mon Sep 17 00:00:00 2001 From: yuli Date: Fri, 6 Dec 2024 07:43:31 +0200 Subject: [PATCH] fix warning mesage --- src/agreements_api.go | 1 + 1 file changed, 1 insertion(+) 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" {