fix(nochatreports): remove extra $ from key
This commit is contained in:
parent
26611d30f9
commit
c15ea64bd3
@ -4,7 +4,7 @@ macro_rules! crypt {
|
||||
macro_rules! crypt_with {
|
||||
($algo:ident) => {{
|
||||
let encoding = $options.get("encoding").unwrap_or_default();
|
||||
let key = &$options.get::<UserDataRef<AesKey>>("$key")?.inner;
|
||||
let key = &$options.get::<UserDataRef<AesKey>>("key")?.inner;
|
||||
match encoding {
|
||||
1 => $algo::<Base64Encoding>::$op($text, &key),
|
||||
2 => $algo::<Base64rEncoding>::$op($text, &key),
|
||||
|
Loading…
x
Reference in New Issue
Block a user