Skip to content

Commit

Permalink
Add date() filter
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeniy-r committed Jun 5, 2022
1 parent 89056f4 commit 054e2ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datanymizer_engine/src/transformers/token/base64.rs
@@ -1,6 +1,6 @@
use crate::{
transformer::{TransformContext, TransformResult, TransformResultHelper, Transformer},
utils,
utils::rnd::rnd_chars,
};
use serde::{Deserialize, Serialize};

Expand Down Expand Up @@ -68,7 +68,7 @@ impl Transformer for Base64TokenTransformer {
};
TransformResult::present(format!(
"{}{}",
utils::rnd_chars(self.len - self.pad, &CHARS),
rnd_chars(self.len - self.pad, &CHARS),
padding
))
}
Expand Down

0 comments on commit 054e2ec

Please sign in to comment.