Skip to content

Commit

Permalink
fixing adsel id
Browse files Browse the repository at this point in the history
  • Loading branch information
devights committed Nov 3, 2020
1 parent f527237 commit 156a3f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions uw_adsel/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class Application(models.Model):
major_program_code = models.CharField(max_length=255)

def json_data(self):
return {'admissionSelectionId': self.adsel_id,
return {'admissionSelectionId': int(self.adsel_id),
'applicationNbr': self.application_number,
'systemKey': self.system_key}

Expand All @@ -66,7 +66,7 @@ class PurpleGoldApplication(Application):
award_amount = models.IntegerField()

def json_data(self):
return {'admissionSelectionId': self.adsel_id,
return {'admissionSelectionId': int(self.adsel_id),
'awardAmount': self.award_amount}


Expand Down

0 comments on commit 156a3f3

Please sign in to comment.