mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-01-18 13:07:58 +00:00
Trim superfluous ( in BinData notation
This commit is contained in:
parent
e28bc40ef1
commit
634a655b5f
@ -77,7 +77,7 @@
|
||||
value = value.slice(7, -1);
|
||||
}
|
||||
else if (value.startsWith('Binary(Buffer.from(')) {
|
||||
value = `BinData(${JSON.stringify(value.sub_type || 0)}, ${value.slice(18, -1)}`;
|
||||
value = `BinData(${JSON.stringify(value.sub_type || 0)}, ${value.slice(19, -1)}`;
|
||||
}
|
||||
}
|
||||
else if (isDate(value)) {
|
||||
|
Loading…
Reference in New Issue
Block a user