From 72aeb27323f034d9025eadc2c50d47317bb1e0a2 Mon Sep 17 00:00:00 2001 From: Richard Webb Date: Wed, 11 Sep 2024 10:43:17 +0100 Subject: [PATCH] Change GitHub.createPullRequest to await the call to PullRequest.Create --- src/app/Fake.Api.GitHub/GitHub.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/Fake.Api.GitHub/GitHub.fs b/src/app/Fake.Api.GitHub/GitHub.fs index 1cef049a869..cf96ecb971c 100644 --- a/src/app/Fake.Api.GitHub/GitHub.fs +++ b/src/app/Fake.Api.GitHub/GitHub.fs @@ -469,4 +469,4 @@ module GitHub = /// let createPullRequest owner repoName (pullRequest: NewPullRequest) (client: Async) = retryWithArg 5 client - <| fun client' -> async { return Async.AwaitTask <| client'.PullRequest.Create(owner, repoName, pullRequest) } + <| fun client' -> async { return! Async.AwaitTask <| client'.PullRequest.Create(owner, repoName, pullRequest) }