Skip to content

Commit

Permalink
Merge pull request OpenG2P#260 from PSNAppz/17.0-develop
Browse files Browse the repository at this point in the history
Fix payment_manager issue in cycle.py
  • Loading branch information
shibu-narayanan authored Sep 18, 2024
2 parents 90351fc + b6f359e commit cdfdf67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions g2p_payment_g2p_connect/models/cycle.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ class G2PCycle(models.Model):
def generate_summary(self):
# Call the Disbursement Envelope Status API to get the latest details
try:
program_manager = self.program_id.get_manager(constants.MANAGER_CYCLE)
payment_manager = self.program_id.get_manager(constants.MANAGER_PAYMENT)
response = requests.post(
program_manager.envelope_status_url,
payment_manager.envelope_status_url,
json={
"signature": "string",
"header": {
Expand Down

0 comments on commit cdfdf67

Please sign in to comment.