mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-26 10:18:26 +02:00
PUT to /__admin/mappings/{guid}
This commit is contained in:
@@ -183,7 +183,7 @@ namespace WireMock.Server
|
||||
{
|
||||
lock (((ICollection)_mappings).SyncRoot)
|
||||
{
|
||||
// Check a mapping exists with the same GUI, if so, remove it first.
|
||||
// Check a mapping exists with the same GUID, if so, remove it first.
|
||||
var existingMapping = _mappings.FirstOrDefault(m => m.Guid == mapping.Guid);
|
||||
if (existingMapping != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user