From 8fd2baf5c488a2ea91ad4ae98f2b31c7edb910ce Mon Sep 17 00:00:00 2001 From: Smaug123 Date: Sat, 30 Dec 2023 11:52:41 +0000 Subject: [PATCH] Fix BaseAddress --- PureGym/Api.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PureGym/Api.fs b/PureGym/Api.fs index 8a52448..1e8ea7e 100644 --- a/PureGym/Api.fs +++ b/PureGym/Api.fs @@ -16,7 +16,7 @@ module Api = | Auth.User cred -> AuthToken.get cred let client = new HttpClient () - client.BaseAddress <- Uri "https://capi.puregym.com/api" + client.BaseAddress <- Uri "https://capi.puregym.com/api/" client.DefaultRequestHeaders.Authorization <- Headers.AuthenticationHeaderValue ("Bearer", token.AccessToken)