Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects
Commit 488e0caf authored by Ida Made Revindra Dikta Mahendra's avatar Ida Made Revindra Dikta Mahendra
Browse files

[FIX]: Remove duplicate routing on controller mod

parent 2d8c4a50
Branches
No related tags found
No related merge requests found
......@@ -5,6 +5,6 @@ use rocket::fairing::AdHoc;
pub fn route_stage() -> AdHoc {
return AdHoc::on_ignite("Initializing controller routes...", |rocket| async {
rocket
.mount("/", routes![notification::subscribe, notification::unsubscribe, notification::receive, notification::receive, notification::list])
.mount("/", routes![notification::subscribe, notification::unsubscribe, notification::receive, notification::list])
});
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment