PUT to /__admin/mappings/{guid}

This commit is contained in:
Stef Heyenrath
2017-01-29 17:42:33 +01:00
parent fddc85f48d
commit edb1354986
2 changed files with 28 additions and 3 deletions

View File

@@ -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)
{