feat(safety): add API route for editing report

This commit is contained in:
Paul Makles
2023-03-02 12:54:55 +00:00
parent c09244039e
commit 8f1ff9e774
15 changed files with 134 additions and 14 deletions

View File

@@ -1,6 +1,7 @@
use revolt_rocket_okapi::revolt_okapi::openapi3::OpenApi;
use rocket::Route;
mod edit_report;
mod fetch_reports;
mod report_content;
@@ -11,6 +12,7 @@ pub fn routes() -> (Vec<Route>, OpenApi) {
// Reports
report_content::report_content,
fetch_reports::fetch_reports,
edit_report::edit_report,
// Snapshots
fetch_snapshot::fetch_snapshot
]