Feat: Notes (Non-Linked Comments) (#52)
Adds support for notes. These are comments that are not linked to specific lines of code in the MR.
This commit is contained in:
committed by
GitHub
parent
d92cf39dd7
commit
152c55fd57
@@ -8,8 +8,9 @@ M.run_job = function(endpoint, method, body, callback)
|
||||
local args = { "-s", "-X", (method or "POST"), string.format("localhost:%s", state.settings.port) .. endpoint }
|
||||
|
||||
if body ~= nil then
|
||||
local encoded_body = vim.json.encode(body)
|
||||
table.insert(args, 1, "-d")
|
||||
table.insert(args, 2, body)
|
||||
table.insert(args, 2, encoded_body)
|
||||
end
|
||||
|
||||
-- This handler will handle all responses from the Go server. Anything with a successful
|
||||
|
||||
Reference in New Issue
Block a user