From e6cc73e5033619de495bd3f8fcd7923f75872c13 Mon Sep 17 00:00:00 2001 From: Gear <84141000+macgeargear@users.noreply.github.com> Date: Thu, 11 Jan 2024 10:00:12 +0700 Subject: [PATCH] chore --- src/constant/auth/auth.constant.go | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/constant/auth/auth.constant.go b/src/constant/auth/auth.constant.go index a10e52d..281fc8c 100644 --- a/src/constant/auth/auth.constant.go +++ b/src/constant/auth/auth.constant.go @@ -10,12 +10,11 @@ var ExcludePath = map[string]struct{}{ } var AdminPath = map[string]struct{}{ - "DELETE /user/:id": {}, - "POST /pets": {}, - "PUT /pets/:id": {}, - "PUT /pets/:id/visible": {}, - "DELETE /pets/:id": {}, - //need to add image upload, delete, assignpet + "DELETE /user/:id": {}, + "POST /pets": {}, + "PUT /pets/:id": {}, + "PUT /pets/:id/visible": {}, + "DELETE /pets/:id": {}, "POST /images/assign/:pet_id": {}, "DELETE /images/:id": {}, "POST /images/": {},