File tree 1 file changed +7
-2
lines changed
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) {
318
318
319
319
Local<Object> options = args[1 ].As <Object>();
320
320
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 ();
322
325
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 ();
324
329
325
330
if (!conflictValue->IsNumber ()) {
326
331
node::THROW_ERR_INVALID_ARG_TYPE (
You can’t perform that action at this time.
0 commit comments