Release 2.5.1 (#271)
* feat: Support for custom authentication provider functions (#270) * feat: Support for adding "draft" notes to the review, and publishing them, either individually or all at once. Addresses feature request #223. * feat: Lets users select + checkout a merge request directly within Neovim, without exiting to the terminal * fix: Checks that the remote feature branch exists and is up-to-date before creating a MR, starting a review, or opening the MR summary (#278) * docs: We require some state from Diffview, this shows how to load that state prior to installing w/ Packer. Fixes #94. This is a #MINOR release. --------- Co-authored-by: Jakub F. Bortlík <jakub.bortlik@proton.me> Co-authored-by: sunfuze <sunfuze.1989@gmail.com> Co-authored-by: Patrick Pichler <mail@patrickpichler.dev>
This commit is contained in:
committed by
GitHub
parent
f10c4ebb8f
commit
cf6ccddce3
@@ -36,8 +36,9 @@ function async:fetch(dependencies, i, argTable)
|
||||
end
|
||||
|
||||
-- Call the API, set the data, and then call the next API
|
||||
job.run_job(dependency.endpoint, "GET", dependency.body, function(data)
|
||||
state[dependency.state] = data[dependency.key]
|
||||
local body = dependency.body and dependency.body() or nil
|
||||
job.run_job(dependency.endpoint, dependency.method or "GET", body, function(data)
|
||||
state[dependency.state] = dependency.key and data[dependency.key] or data
|
||||
self:fetch(dependencies, i + 1, argTable)
|
||||
end)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user