diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 407b84437..9d80a8b09 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -152,6 +152,7 @@ Ben Olson Akash Reddy Lucio Sauer Gustavo Sales +Shawn M Moore ******************** diff --git a/rslib/src/backend/sync.rs b/rslib/src/backend/sync.rs index 5aa84014c..b89f10c9c 100644 --- a/rslib/src/backend/sync.rs +++ b/rslib/src/backend/sync.rs @@ -283,7 +283,7 @@ impl Backend { let sync_fut = sync_login( input.username, input.password, - input.endpoint, + input.endpoint.clone(), self.web_client().clone(), ); let abortable_sync = Abortable::new(sync_fut, abort_reg); @@ -293,7 +293,7 @@ impl Backend { }; ret.map(|a| anki_proto::sync::SyncAuth { hkey: a.hkey, - endpoint: None, + endpoint: input.endpoint, io_timeout_secs: None, }) }