Convert ReviewReply.discardIfEmpty to use promises.

Review Request #11633 — Created May 28, 2021 and updated

david
Review Board
master
reviewboard

This change updates the ReviewReply.discardIfEmpty logic to use promises
instead of success/error callbacks.

  • Ran js-tests.
  • Verified that the draft reply object was properly discarded when there
    were no more comments attached.
Summary
Convert ReviewReply.discardIfEmpty to use promises.
Description From Last Updated

Col: 53 Missing semicolon.

reviewbotreviewbot

Col: 57 Missing semicolon.

reviewbotreviewbot
Loading...