Browse Source
Closing apostrophe in PolymorphicConverter exception message (#995)
- Was showing in logs as "Object has no discriminator '$type."
pull/997/head
Paul Astbury-Thomas
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
backend/src/Squidex.Infrastructure/Json/System/PolymorphicConverter.cs
|
|
|
@ -65,7 +65,7 @@ public sealed class PolymorphicConverter<T> : JsonConverter<T> where T : class |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
ThrowHelper.JsonException($"Object has no discriminator '{discriminatorName}."); |
|
|
|
ThrowHelper.JsonException($"Object has no discriminator '{discriminatorName}'."); |
|
|
|
return default!; |
|
|
|
} |
|
|
|
|
|
|
|
|