Skip to content

Commit

Permalink
Renamed variable uri to guid in UuidType (#2782)
Browse files Browse the repository at this point in the history
  • Loading branch information
huysentruitw authored Dec 29, 2020
1 parent 12915dc commit 4d9e2f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/HotChocolate/Core/src/Types/Types/Scalars/UuidType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ public override bool TrySerialize(object? runtimeValue, out object? resultValue)
return true;
}

if (runtimeValue is Guid uri)
if (runtimeValue is Guid guid)
{
resultValue = uri.ToString(_format);
resultValue = guid.ToString(_format);
return true;
}

Expand Down

0 comments on commit 4d9e2f0

Please sign in to comment.