From 6fb9623ba50bb52182a293d923bf0384b811104e Mon Sep 17 00:00:00 2001 From: Idhibhat Pankam Date: Wed, 10 Jan 2024 00:14:06 +0700 Subject: [PATCH] fix: paths --- src/constant/auth/auth.constant.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/constant/auth/auth.constant.go b/src/constant/auth/auth.constant.go index aef786f..3cf5931 100644 --- a/src/constant/auth/auth.constant.go +++ b/src/constant/auth/auth.constant.go @@ -4,13 +4,14 @@ var ExcludePath = map[string]struct{}{ "POST /auth/signup": {}, "POST /auth/signin": {}, "POST /auth/verify": {}, - "GET /pets/": {}, - "GET /adopt/": {}, + "GET /user/:id": {}, + "GET /pets": {}, + "GET /adopt": {}, } var AdminPath = map[string]struct{}{ "DELETE /users/:id": {}, - "POST /pets/": {}, + "POST /pets": {}, "PUT /pets/:id": {}, "PUT /pets/:id/visible": {}, "DELETE /pets/:id": {},