Skip to content

Commit

Permalink
Fix auth rarimarket
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaptoss committed Sep 18, 2024
1 parent de4a15c commit 311f738
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/service/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ func Run(ctx context.Context, cfg config.Config) {
r.Route("/public", func(r chi.Router) {
r.Route("/rarimarket", func(r chi.Router) {
r.Route("/accounts", func(r chi.Router) {
r.Use(authMW)
r.Post("/", handlers.CreateRarimarketAccount)
r.Get("/{nullifier}", handlers.GetRarimarketAccount)
})
Expand Down

0 comments on commit 311f738

Please sign in to comment.