diff --git a/uw_adsel/models.py b/uw_adsel/models.py index 1919f3c..af5d090 100644 --- a/uw_adsel/models.py +++ b/uw_adsel/models.py @@ -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} @@ -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}