mirror of
https://github.com/danbulant/Portfolio
synced 2026-05-27 05:51:56 +00:00
fix: correct error for incomplete portfolio
This commit is contained in:
parent
20028846bb
commit
7e00d302d2
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ impl ServiceError {
|
||||||
ServiceError::AesError(_) => 500,
|
ServiceError::AesError(_) => 500,
|
||||||
ServiceError::ArgonConfigError(_) => 500,
|
ServiceError::ArgonConfigError(_) => 500,
|
||||||
//TODO: Correct code
|
//TODO: Correct code
|
||||||
ServiceError::IncompletePortfolio => 500,
|
ServiceError::IncompletePortfolio => 406,
|
||||||
ServiceError::ZipError(_) => 500,
|
ServiceError::ZipError(_) => 500,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue