diff --git a/src/nex.rs b/src/nex.rs index 99c4db6..0bbc7f3 100644 --- a/src/nex.rs +++ b/src/nex.rs @@ -44,6 +44,10 @@ impl Nex { }) } + // @TODO: This function requires the following improvements: + // * validate attachments before updating + // * apply the post time to the files + /// Update destination with given data (typically received from Snac) pub fn sync( &self, name: &str, @@ -136,7 +140,7 @@ impl Nex { // write the data p.push( published - .format(&self.filename.trim_matches(std::path::MAIN_SEPARATOR)) + .format(self.filename.trim_matches(std::path::MAIN_SEPARATOR)) .to_string(), );