Fixed issue with skip vote counts, added headless chrome IP to config, other fixes
This commit is contained in:
parent
bc59550625
commit
925eb387dd
7 changed files with 44 additions and 14 deletions
|
@ -43,7 +43,7 @@ Napi::Value Sonic(const Napi::CallbackInfo &info)
|
|||
|
||||
Napi::Object obj = info[0].As<Napi::Object>();
|
||||
Napi::Function cb = info[1].As<Napi::Function>();
|
||||
string text = obj.Get("path").As<Napi::String>().Utf8Value();
|
||||
string text = obj.Get("text").As<Napi::String>().Utf8Value();
|
||||
|
||||
SonicWorker* explodeWorker = new SonicWorker(cb, text);
|
||||
explodeWorker->Queue();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue