diff --git a/libsql/examples/offline_writes.rs b/libsql/examples/offline_writes.rs index 8135fe3426..e43278310a 100644 --- a/libsql/examples/offline_writes.rs +++ b/libsql/examples/offline_writes.rs @@ -24,16 +24,10 @@ async fn main() { }) .unwrap(); - let namespace = std::env::var("LIBSQL_NAMESPACE").ok(); - // The authentication token to use. let auth_token = std::env::var("LIBSQL_AUTH_TOKEN").unwrap_or("".to_string()); - let db_builder = if let Some(ns) = namespace { - Builder::new_synced_database(db_path, sync_url, auth_token).namespace(&ns) - } else { - Builder::new_synced_database(db_path, sync_url, auth_token) - }; + let db_builder = Builder::new_synced_database(db_path, sync_url, auth_token); let db = match db_builder.build().await { Ok(db) => db,