Skip to content

Commit

Permalink
fix: paths
Browse files Browse the repository at this point in the history
  • Loading branch information
bookpanda committed Jan 9, 2024
1 parent 44cd89f commit 6fb9623
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/constant/auth/auth.constant.go
Original file line number Diff line number Diff line change
Expand Up @@ -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": {},
Expand Down

0 comments on commit 6fb9623

Please sign in to comment.