Fix: temporary file naming

This commit is contained in:
Mike Dilger 2024-11-19 09:31:50 +13:00
parent de82b10905
commit f8d9be7c6d
No known key found for this signature in database
GPG Key ID: 47581A78D4329BA4

View File

@ -36,7 +36,7 @@ impl FileStore {
fn tmpfile(&self) -> PathBuf {
let mut tf = self.temp.clone();
let nonce = textnonce::TextNonce::new();
let nonce = textnonce::TextNonce::sized_urlsafe(32).unwrap();
tf.push(&nonce.0);
tf
}