Use WoofWare.Myriad entirely to generate the REST API (#9)
Co-authored-by: Smaug123 <patrick+github@patrickstevens.co.uk> Reviewed-on: #9
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
namespace PureGym.App
|
||||
|
||||
open System.Threading
|
||||
open Argu
|
||||
open PureGym
|
||||
open System
|
||||
@@ -41,7 +42,7 @@ module Sessions =
|
||||
|
||||
let run (args : SessionsArgs) =
|
||||
task {
|
||||
let! client = Api.make args.Creds
|
||||
let! client = Api.makeWithoutRefresh CancellationToken.None args.Creds
|
||||
let! activity = client.GetSessions (args.FromDate, args.ToDate)
|
||||
|
||||
System.Console.WriteLine (string<Sessions> activity)
|
||||
|
Reference in New Issue
Block a user