diff --git a/central_backend/src/logs/logs_manager.rs b/central_backend/src/logs/logs_manager.rs index d4f9a1c..0164f83 100644 --- a/central_backend/src/logs/logs_manager.rs +++ b/central_backend/src/logs/logs_manager.rs @@ -35,7 +35,7 @@ pub fn save_log( .as_bytes(), )?; file.flush()?; - fs4::fs_std::FileExt::unlock(file)?; + fs4::fs_std::FileExt::unlock(&file)?; Ok(()) }