pull/1978/head
amrbashir 7 months ago
parent 514afdbf0f
commit 8f5b6ca57b
No known key found for this signature in database
GPG Key ID: BBD7A47A2003FF33

@ -66,7 +66,7 @@ impl CookieStoreMutex {
pub fn save<W: std::io::Write>(&self, writer: &mut W) -> cookie_store::Result<()> {
let store = self.lock().expect("poisoned cookie jar mutex");
cookie_store::serde::save(&store, writer, |c| serde_json::to_string(c))
cookie_store::serde::save(&store, writer, serde_json::to_string)
}
}

Loading…
Cancel
Save