Skip to content

Commit

Permalink
don't use tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
Max committed Feb 27, 2018
1 parent d9abbbd commit f475708
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions EDEngineer.Server/Server.fs
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,8 @@ let start (token, port, translator:ILanguage, state:Func<IDictionary<string, Sta
})))

pathScan "/%s/shopping-list%s" (fun (commander, format) ->
let toShoppingListItem (i:Tuple<Blueprint, int>) =
{ Blueprint = i.Item1.ToSerializable(); Count = i.Item2 }
let toShoppingListItem (b: Blueprint, count: int) =
{ Blueprint = b; Count = count }

(request(fun request ->
cmdr {
Expand Down

0 comments on commit f475708

Please sign in to comment.