Skip to content

Commit 2b80385

Browse files
authored
docs(readme): fix syntax highlighting
1 parent b8443b8 commit 2b80385

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ services.AddJsonApi<AppDbContext>(opt =>
369369

370370
By default, errors will only contain the properties defined by the internal [Error](https://github.com/Research-Institute/json-api-dotnet-core/blob/master/src/JsonApiDotNetCore/Internal/Error.cs) class. However, you can create your own by inheriting from `Error` and either throwing it in a `JsonApiException` or returning the error from your controller.
371371

372-
```chsarp
372+
```csharp
373373
// custom error definition
374374
public class CustomError : Error {
375375
public CustomError(string status, string title, string detail, string myProp)

0 commit comments

Comments
 (0)