Skip to content

Commit d7665f7

Browse files
committed
2 parents cb37dd5 + 610dd0f commit d7665f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/errors/routes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ impl ApiError {
3838
impl From<ServiceError> for ApiError {
3939
fn from(err: ServiceError) -> Self {
4040
match err {
41-
ServiceError::DatabaseError { message, source: _ } => {
41+
ServiceError::DatabaseError { message, .. } => {
4242
ApiError::InternalServerError(format!("Database error: {}", message))
4343
}
4444
ServiceError::NotFound { resource, detail } => {

0 commit comments

Comments
 (0)