Slight cleanup + simplification of init state

This commit is contained in:
Harrison Cramer
2023-08-18 19:07:43 -04:00
parent 57b3f12a2f
commit 2846dd3239
2 changed files with 7 additions and 27 deletions

View File

@@ -41,15 +41,4 @@ M.run_job = function(endpoint, method, body, callback)
}):start()
end
-- Approves the current merge request
M.approve = function()
M.run_job("approve", "POST")
end
-- Revokes approval for the current merge request
M.revoke = function()
M.run_job("revoke", "POST")
end
return M