Skip to content

Commit

Permalink
fix catchup route (#2192)
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-maron authored Dec 11, 2023
1 parent 6c44359 commit 3f5aecd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/web_server/api.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Return the VID disperse data for a given view number

# GET the proposal for a view, where the view is passed as an argument
[route.getrecentproposal]
PATH = ["proposal/"]
PATH = ["proposal/recent"]
DOC = """
Return the proposal for the most recent view the server has
"""
Expand Down
2 changes: 1 addition & 1 deletion crates/web_server/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub fn post_proposal_route(view_number: u64) -> String {
}

pub fn get_recent_proposal_route() -> String {
"api/proposal".to_string()
"api/proposal/recent".to_string()
}

pub fn get_da_certificate_route(view_number: u64) -> String {
Expand Down

0 comments on commit 3f5aecd

Please sign in to comment.