From a3eef8cf3f8c8290a520f1d12ca371676a6d06d7 Mon Sep 17 00:00:00 2001 From: Vargha Csongor Date: Fri, 18 Apr 2025 14:02:41 +0200 Subject: [PATCH] rm unused nolint --- apps/db-adapter/internal/api/person.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/db-adapter/internal/api/person.go b/apps/db-adapter/internal/api/person.go index c778127..442087c 100644 --- a/apps/db-adapter/internal/api/person.go +++ b/apps/db-adapter/internal/api/person.go @@ -107,7 +107,7 @@ func (srv *server) GetPersonById(c *gin.Context, id int, params api.GetPersonByI c.JSON(http.StatusOK, res) } -func (srv *server) SoftDeletePerson(c *gin.Context, id int, params api.SoftDeletePersonParams) { //nolint:dupl,lll // not worth abstracting more than this +func (srv *server) SoftDeletePerson(c *gin.Context, id int, params api.SoftDeletePersonParams) { session := srv.createSessionWithTimeout(c.Request.Context()) defer closeSession(c.Request.Context(), srv.logger, session, srv.dbOpTimeout)