Fix the sig function code not working

This commit is contained in:
techmetx11 2024-07-03 18:00:07 +01:00
parent 4cb6b0a609
commit 053e89cd79
No known key found for this signature in database
GPG Key ID: E60B63635FF4E062

View File

@ -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;