File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -318,9 +318,14 @@ void DatabaseSync::ApplyChangeset(const FunctionCallbackInfo<Value>& args) {
318318
319319 Local<Object> options = args[1 ].As <Object>();
320320
321- Local<String> conflictKey = String::NewFromUtf8 (env->isolate (), " onConflict" , v8::NewStringType::kNormal ).ToLocalChecked ();
321+ Local<String> conflictKey = String::NewFromUtf8 (
322+ env->isolate (),
323+ " onConflict" ,
324+ v8::NewStringType::kNormal ).ToLocalChecked ();
322325 if (options->HasOwnProperty (env->context (), conflictKey).FromJust ()) {
323- Local<Value> conflictValue = options->Get (env->context (), conflictKey).ToLocalChecked ();
326+ Local<Value> conflictValue = options->Get (
327+ env->context (),
328+ conflictKey).ToLocalChecked ();
324329
325330 if (!conflictValue->IsNumber ()) {
326331 node::THROW_ERR_INVALID_ARG_TYPE (
You can’t perform that action at this time.
0 commit comments