This repository has been archived by the owner on Mar 8, 2020. It is now read-only.
[3:3:2:2] When approving a Partner
, wait for the response before updating the status
#1
Milestone
(Pulled from RfG#672)
Note - This requires work on both the diaper and partner apps. Each point below will require altering the api endpoint on each app as well as whatever is making the request to the endpoint.
Summary
In the
partners_controller.rb
there is an action#approve_application
that automatically sets a partnerstatus
toapproved
. Instead, it should wait for the results ofDiaperPartnerClient.put
before making the change. Scheduled retries or something similar my be required.Criteria for Completion
Reference / History
This was originally part of https://github.com/rubyforgood/diaper/issues/636. It is similar to #2
The text was updated successfully, but these errors were encountered: