Change ReviewRequest.createFromCommit to return a promise.

Review Request #11632 — Created May 27, 2021 and updated

david
Review Board
master
reviewboard

This change updates the post-commit review request creation method to
return a promise instead of using callbacks for success and error.

  • Ran js-tests.
  • Created a post-commit review request.
Summary
Change ReviewRequest.createFromCommit to return a promise.
Description From Last Updated

Col: 44 'arrow function syntax (=>)' is only available in ES6 (use 'esversion: 6').

reviewbotreviewbot

Col: 27 'arrow function syntax (=>)' is only available in ES6 (use 'esversion: 6').

reviewbotreviewbot

Col: 44 'arrow function syntax (=>)' is only available in ES6 (use 'esversion: 6').

reviewbotreviewbot
Checks run (1 failed, 1 succeeded)
flake8 passed.
JSHint failed.

JSHint

Loading...