Skip to content

Commit 881507a

Browse files
authored
fix: change url (#21)
1 parent 88ba730 commit 881507a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/transaction_service/Sources/App/Controllers/transaction/TransactionController.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ struct TransactionQuery: Content {
1212

1313
struct TransactionController: RouteCollection, TransactionProtocol {
1414
func boot(routes: RoutesBuilder) throws {
15-
routes.get(":id", use: self.get)
16-
routes.get("health", use: self.getHealth)
15+
routes.get("/stats/transaction/:id", use: self.get)
16+
routes.get("/stats/transaction/health", use: self.getHealth)
1717
}
1818

1919
/**

0 commit comments

Comments
 (0)