Fix some routes not working (#566)

This commit is contained in:
triphora
2023-03-23 12:39:46 -04:00
committed by GitHub
parent b91ec48178
commit 7605df1bd9
5 changed files with 8 additions and 17 deletions

View File

@@ -26,12 +26,6 @@ use std::collections::HashMap;
use std::sync::Arc;
use validator::Validate;
pub fn config(cfg: &mut web::ServiceConfig) {
cfg.service(version_create);
cfg.service(web::scope("version").service(upload_file_to_version));
}
fn default_requested_status() -> VersionStatus {
VersionStatus::Listed
}