Fix BaseAddress
This commit is contained in:
@@ -16,7 +16,7 @@ module Api =
|
|||||||
| Auth.User cred -> AuthToken.get cred
|
| Auth.User cred -> AuthToken.get cred
|
||||||
|
|
||||||
let client = new HttpClient ()
|
let client = new HttpClient ()
|
||||||
client.BaseAddress <- Uri "https://capi.puregym.com/api"
|
client.BaseAddress <- Uri "https://capi.puregym.com/api/"
|
||||||
|
|
||||||
client.DefaultRequestHeaders.Authorization <-
|
client.DefaultRequestHeaders.Authorization <-
|
||||||
Headers.AuthenticationHeaderValue ("Bearer", token.AccessToken)
|
Headers.AuthenticationHeaderValue ("Bearer", token.AccessToken)
|
||||||
|
Reference in New Issue
Block a user