Skip to content

Commit

Permalink
Temporary fix for route 404s
Browse files Browse the repository at this point in the history
  • Loading branch information
tomfulton committed Jun 14, 2014
1 parent 2675c9f commit a39c69e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PhoenixConverters/Controllers/PhoenixApiController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public object GetConverterByAlias(string alias)
}

[HttpGet]
public object Test(string alias, int sourceDataTypeId, int targetDataTypeId, bool updatePropertyTypes, bool publish)
public object Test(string alias, int sourceDataTypeId, int targetDataTypeId, bool updatePropertyTypes = false, bool publish = false)
{
var converter = PhoenixCore.GetAllConverters().Where(x => x.Alias.ToLower() == alias.ToLower()).FirstOrDefault();

Expand All @@ -53,7 +53,7 @@ public object Test(string alias, int sourceDataTypeId, int targetDataTypeId, boo
}

[HttpGet]
public object Conversion(string alias, int sourceDataTypeId, int targetDataTypeId, bool updatePropertyTypes, bool publish)
public object Conversion(string alias, int sourceDataTypeId, int targetDataTypeId, bool updatePropertyTypes = false, bool publish = false)
{
var converter = PhoenixCore.GetAllConverters().Where(x => x.Alias.ToLower() == alias.ToLower()).FirstOrDefault();

Expand Down

0 comments on commit a39c69e

Please sign in to comment.