Fixed two typos to the filter

This commit is contained in:
Geert Van Laethem 2017-04-20 13:27:52 +02:00
parent b9c097fc1e
commit ebff02fb1f

View File

@ -41,12 +41,12 @@
{
var json = new JsonErrorResponse
{
Messages = new[] { "An error ocurr.Try it again." }
Messages = new[] { "An error occur.Try it again." }
};
if (env.IsDevelopment())
{
json.DeveloperMeesage = context.Exception;
json.DeveloperMessage = context.Exception;
}
// Result asigned to a result object but in destiny the response is empty. This is a known bug of .net core 1.1
@ -61,7 +61,7 @@
{
public string[] Messages { get; set; }
public object DeveloperMeesage { get; set; }
public object DeveloperMessage { get; set; }
}
}
}