aboutsummaryrefslogtreecommitdiff
path: root/src/api/s3/xml.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/s3/xml.rs')
-rw-r--r--src/api/s3/xml.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/s3/xml.rs b/src/api/s3/xml.rs
index 75ec4559..111657a0 100644
--- a/src/api/s3/xml.rs
+++ b/src/api/s3/xml.rs
@@ -1,7 +1,7 @@
use quick_xml::se::to_string;
use serde::{Deserialize, Serialize, Serializer};
-use crate::Error as ApiError;
+use crate::s3::error::Error as ApiError;
pub fn to_xml_with_header<T: Serialize>(x: &T) -> Result<String, ApiError> {
let mut xml = r#"<?xml version="1.0" encoding="UTF-8"?>"#.to_string();