fix: serve get_file under contents/

master
Aravinth Manivannan 2 years ago
parent a8718dc73e
commit 91be25d9f6
Signed by: realaravinth
GPG Key ID: AD9F0F08E855ED88

@ -65,7 +65,7 @@ impl Gist {
/// create new instance of Authentication route
pub const fn new() -> Gist {
let new = "/api/v1/gist/new";
let get_file = "/api/v1/gist/profile/{username}/{gist}/{file}";
let get_file = "/api/v1/gist/profile/{username}/{gist}/contents/{file}";
Gist { new, get_file }
}

Loading…
Cancel
Save