Add dash to id prefixes

This commit is contained in:
Joscha 2023-08-11 20:54:20 +02:00
parent 9744d5c059
commit 3d959c703c

View file

@ -10,9 +10,9 @@ fn random_id(prefix: &str, length: usize) -> String {
}
pub fn random_worker_token() -> String {
random_id("t", 30)
random_id("t-", 30)
}
pub fn random_worker_secret() -> String {
random_id("s", 30)
random_id("s-", 30)
}