Skip to content

Commit

Permalink
Fix API schema generation (#1888)
Browse files Browse the repository at this point in the history
fix api schema generation
  • Loading branch information
sainak authored Feb 10, 2024
1 parent a369fea commit fcea22e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion care/abdm/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class AbhaNumber(BaseModel):
refresh_token = models.TextField(null=True, blank=True)

def __str__(self):
return self.abha_number
return f"{self.pk} {self.abha_number}"


class HealthFacility(BaseModel, HealthFacilityPermissions):
Expand Down

0 comments on commit fcea22e

Please sign in to comment.