Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Commit

Permalink
Defaults content type to null
Browse files Browse the repository at this point in the history
  • Loading branch information
i4004 committed Aug 18, 2017
1 parent 6892cb7 commit d1cab14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Simplify.Web/Responses/Ajax.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public Ajax(string ajaxData, int statusCode = 200)
/// </summary>
/// <param name="ajaxData">The ajax data.</param>
/// <param name="contentType">Type of the content.</param>
public Ajax(string ajaxData, string contentType)
public Ajax(string ajaxData, string contentType = null)
{
AjaxData = ajaxData;
ContentType = contentType;
Expand Down

0 comments on commit d1cab14

Please sign in to comment.