Skip to content

Commit

Permalink
update endpoint name to /operations/latest
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkCherepovskyi committed Sep 11, 2024
1 parent 04605b2 commit b937edd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/service/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func (s *service) router() chi.Router {
})
r.Route("/operations", func(r chi.Router) {
r.Get("/{root}", handlers.GetOperationByRoot)
r.Get("/", handlers.GetLastOperation)
r.Get("/latest", handlers.GetLastOperation)
})
})
})
Expand Down

0 comments on commit b937edd

Please sign in to comment.