Skip to content

Commit

Permalink
Added missing type parameter for Documents.Put.queryAsResult
Browse files Browse the repository at this point in the history
  • Loading branch information
b0wter committed Sep 3, 2022
1 parent 6cf4a1c commit 6484afb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/Documents/Put.fs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ module Put =
return! HttpVerbs.Put.query<'a> dbProps url [] docId docRev document
}

let queryAsResult dbProps dbName docId docRev document = query dbProps dbName docId docRev document |> Async.map HttpVerbs.Put.asResult
let queryAsResult<'a> dbProps dbName docId docRev document = query<'a> dbProps dbName docId docRev document |> Async.map HttpVerbs.Put.asResult

let asResult = HttpVerbs.Put.asResult

0 comments on commit 6484afb

Please sign in to comment.