Skip to content

Commit

Permalink
fix route name
Browse files Browse the repository at this point in the history
  • Loading branch information
sug0 committed Aug 13, 2024
1 parent cdac3e8 commit 0026f09
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/LatestHeightResponse'
/notes-map:
/notes-index:
get:
parameters:
- in: query
Expand Down
5 changes: 4 additions & 1 deletion webserver/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ impl ApplicationServer {
"/witness-map",
get(handler::witness_map::get_witness_map),
)
.route("/notes-map", get(handler::notes_index::get_notes_index))
.route(
"/notes-index",
get(handler::notes_index::get_notes_index),
)
.route("/tx", get(handler::tx::get_tx))
.route("/height", get(handler::namada_state::get_latest_height))
.route(
Expand Down

0 comments on commit 0026f09

Please sign in to comment.