Skip to content

Commit

Permalink
add delete_call_link api to frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
adel-signal authored Feb 21, 2024
1 parent 68bfb35 commit cbc5146
Show file tree
Hide file tree
Showing 3 changed files with 564 additions and 6 deletions.
4 changes: 3 additions & 1 deletion frontend/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,9 @@ fn app(frontend: Arc<Frontend>) -> Router {

let call_link_routes = Router::new().route(
"/v1/call-link",
get(call_links::read_call_link).put(call_links::update_call_link),
get(call_links::read_call_link)
.put(call_links::update_call_link)
.delete(call_links::delete_call_link),
);
#[cfg(any(debug_assertions, feature = "testing"))]
let call_link_routes = call_link_routes
Expand Down
Loading

0 comments on commit cbc5146

Please sign in to comment.