fix: test & lint

This commit is contained in:
DarkSky
2026-06-22 00:51:47 +08:00
parent 77a2b384b2
commit 9f712e690b
27 changed files with 1022 additions and 101 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ impl Stamp {
let ts = now.format("%Y%m%d%H%M%S");
let bits = bits.unwrap_or(20);
let rand = String::from_iter(Alphanumeric.sample_iter(rng()).take(SALT_LENGTH).map(char::from));
let challenge = format!("{}:{}:{}:{}:{}:{}", version, bits, ts, &resource, "", rand);
let challenge = format!("{}:{}:{}:{}:{}:{}", version, bits, ts, resource, "", rand);
Stamp {
version: version.to_string(),