Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Validate merge request id exists in DB

    1. In case of error - return 404

  2. Check merge request status is NEW or APPROVED

    1. In case of error - return 422 (Incorrect status to reject 409 (Invalid merge request status)

Update object in DB

mpi.merge_requeststable

...