Fix validators (#237)
* Fix file extension checks not working * Fix validators not validating files of a non-matching extension
This commit is contained in:
1 parent
4073a7abc3
commit
fdf8845a2f
2 files changed
+14
-5
No files matched your search
@@ -535,7 +535,7 @@ pub async fn project_create_inner(
|
||||
let mut categories = Vec::with_capacity(project_create_data.categories.len());
|
||||
for category in &project_create_data.categories {
|
||||
let id = models::categories::Category::get_id_project(
|
||||
&category,
|
||||
category,
|
||||
project_type_id,
|
||||
&mut *transaction,
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user