Fix the sig function code not working
This commit is contained in:
parent
4cb6b0a609
commit
053e89cd79
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
use std::sync::Arc;
|
||||
use std::{fmt::Debug, sync::Arc};
|
||||
|
||||
use regex::Regex;
|
||||
|
||||
|
@ -154,6 +154,10 @@ pub async fn fetch_update(state: Arc<GlobalState>) -> Result<(), FetchUpdateStat
|
|||
.as_str();
|
||||
|
||||
let mut sig_code = String::new();
|
||||
sig_code += "var ";
|
||||
sig_code += sig_function_name;
|
||||
sig_code += ";";
|
||||
|
||||
sig_code += helper_object_body;
|
||||
sig_code += sig_function_body;
|
||||
|
||||
|
|
Loading…
Reference in a new issue