Skip uploads of existing documents and support checksum preflight in importer
This commit is contained in:
@@ -57,6 +57,7 @@ pub fn create_router(state: AppState) -> Router<()> {
|
||||
.route("/me", get(auth::me));
|
||||
|
||||
let documents_routes = Router::new()
|
||||
.route("/check", get(documents::check_document))
|
||||
.route(
|
||||
"/",
|
||||
get(documents::list_documents).post(documents::upload_document),
|
||||
|
||||
Reference in New Issue
Block a user