diff --git a/src/server.rs b/src/server.rs index a067207..d5dd976 100644 --- a/src/server.rs +++ b/src/server.rs @@ -369,7 +369,7 @@ impl ProtobufPactPlugin { let val = proto_value_to_json(v); match plugin_config.entry(k.clone()) { Entry::Occupied(mut e) => { - e.insert(merge_value(&val, e.get())?); + e.insert(merge_value(e.get(), &val)?); }, Entry::Vacant(e) => { e.insert(val);