Merge pull request #173 from GeertVL/master

Fixed some minor typos
This commit is contained in:
Cesar De la Torre 2017-04-20 10:44:42 -07:00 committed by GitHub
commit 12c544320d

View File

@ -41,12 +41,12 @@
{ {
var json = new JsonErrorResponse var json = new JsonErrorResponse
{ {
Messages = new[] { "An error ocurr.Try it again." } Messages = new[] { "An error occur.Try it again." }
}; };
if (env.IsDevelopment()) 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 // 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 string[] Messages { get; set; }
public object DeveloperMeesage { get; set; } public object DeveloperMessage { get; set; }
} }
} }
} }